What is the difference in between C++ and Java ? can u explain in detail?

What is the difference in between C++ and Java ? can u explain in detail?

Java supports classes, but does not support structures or unions.
Write once, run anywhere, Platform independent (Interoperability).
Due to byte code and run by JVM.
C++ supports multiple inheritance but java doesn\'t.
Pointers are not in java, All classes in Java ultimately inherit from the Object class.
Java does not support operator overloading.

By:Sumit Tripathi
Date:2025-05-15 00:00:00

Post Your Answers


User Email:

User Name:
Answers:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher