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 the purpose of a transient variable?
what is the major difference between linkedlist and arraylist in java?
I want to re-reach and use an object once it has been garbage collected. Define how it’s possible?
What is the purpose of extern variable?
Why lambda expression is used in java?
What does g mean in regex?
Can a class extend more than one class?
What is the advantage of OOP in java?
Is there is any difference between a scrollbar and a scrollpane?
What is the default value of the local variables?
What are the types of collections in java?
What is Java Package and which package is imported by default?
Why does java not allow multiple public classes in a java file ?
Define the term string pool?
What is module in oop?