- Trending Categories
Data Structure
Networking
RDBMS
Operating System
Java
MS Excel
iOS
HTML
CSS
Android
Python
C Programming
C++
C#
MongoDB
MySQL
Javascript
PHP
Physics
Chemistry
Biology
Mathematics
English
Economics
Psychology
Social Studies
Fashion Studies
Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
What are the differences between C++ and Java?
Following are the major differences between C++ and Java.
Java | C++ |
Java does not support pointers, unions, operator overloading and structure. | C++ supports pointers, unions, operator overloading and structure. |
Java supports garbage collection. | C++ does not supports garbage collection. |
Java is platform independent. | C++ is platform dependent. |
Java supports inheritance except for multiple inheritance | C++ supports inheritance including multiple inheritances |
Java is interpreted. | C++ is compiled. |
Java does not support destructor | C++ supports destructors. |
- Related Articles
- What are the differences between C and Java?
- What are the differences between Java classes and Java objects?
- What are the differences between JRadioButton and JCheckBox in Java?
- What are the differences between recursion and iteration in Java?
- What are the differences between GridLayout and GridBagLayout in Java?
- What are the differences between JTextField and JTextArea in Java?
- What are the differences between StackOverflowError and OutOfMemoryError in Java?
- What are the differences between the TableCellRenderer and TableCellEditor in Java?
- What are the differences between ClassNotFoundException and NoClassDefFoundError in Java?\n
- What are the differences between length and length () in Java?\n
- What are the differences between JFrame and JDialog in Java?\n
- What are the differences between a class and an interface in Java?
- What are the differences between a MouseListener and a MouseMotionListener in Java?
- What are the differences between a JComboBox and a JList in Java?
- What are the differences between a JScrollBar and a JScrollPane in Java?

Advertisements