What is the difference between C++ & Java?
Answer Posted / ashish saran
There are many differences between C++ and Java, but they are all having some kind of substitute for that in one another. for eg, Java is missing pointers but there are collections framework in Java for implementing data structures.Java is missing multiple inheritance but has interfaces for that.
The architecture of both languages differ. In C++ header files are used, while the whole architecture of Java depends on Classes(there are also advantages to that).
However the main differences are of Multi-Threading and Platform Independence which are only in Java. Also it is more Programmer friendly.
Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How to display all the prime numbers between 1 and 100
What are the steps in the jdbc connection?
Tell me the Importent classes in net package?
How does compareto work in java?
What is preflight request?
When is finally block not called?
Which is easier .net or java?
Explain access specifiers?
What is the java idl system?
What is final method?
which pattern is default in scanner package?
Is 0 true or false?
how does multithreading take place on a computer with a single cpu? : Java thread
What programs use java?
How do you define a parameter?