What is the difference between C++ & Java?
Answer Posted / gyana
You can say as java is the advance version of the C++.You
can made differences between this two because java do some
modification in the C++ and released it.So there are 6
differenes between java and c++.these are
1-Java does not support predessor.
2-Java doesn't contain any data types such as enum,
struct,union.
3-java doesnot support multiple inheritance however it
supports this by using interface.
4-Java have no template class.
5-java is platform indepedent and c++ is plotform
indepedent.
6-java donot contain any pointer values.
7-java java doesnot contain goto keyword.
these above features are not supported by java but
supported by C++.So these are the differences between java
and C++.
| Is This Answer Correct ? | 61 Yes | 9 No |
Post New Answer View All Answers
Explain treeset?
What is java lang object?
What is a method vs function?
What do you mean by byte code?
Is treeset sorted in java?
What are the drawbacks for singleton class?
Is space a char?
Is void a data type in java?
What is formatted output?
What is the Difference between Final Class && Abstract Class?
Explain 5 io best practices?
What is the importance of static variable?
Which is faster call by value or call by reference?
What is the difference between normal report & matrix report?
What is local variable and instance variable?