Answer Posted / gyana
Java is simply different from C++.Because it do some
modification to c++ then after it publish..So there are 6
major difference here i can explain.These are
1-java doesn't support predessors.Where as C++ support this.
2-Java doesnot support Multiple inheritance however it use
this by using interface.
3-Java doesn't contain any pointer value.
4-Java have no template class.
5-Java doesn't contain any datatype such as
struct,enum,union.
6-Java have no Go to keyword.
Above these points are not supported by java , but
supported by c++.So these are the difference between java
and c++.
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What is string pool in java?
What is the difference between method and means?
Why there are some null interface in JAVA? What does it mean? Give some null interface in JAVA?
Is string is a keyword in java?
What does it mean that strings are immutable?
What is the difference between the size and capacity of a vector?
What is a class component?
How we can generate random numbers in java?
What is google full form?
What is the destroy method?
What is the unit of plancks constant?
Explain an intermediate language?
Can we have return statement in finally clause? What will happen?
How do you check if a string is lexicographically in java?
Can constructor be protected in java?