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
Explain the advantages of packages in java?
What are constructors in java?
What environment variables are required to be set on a machine in order to run Java programs?
Does java arraylist maintain insertion order?
What do you understand by an io stream?
What are the files generated after using IDL to java compiler?
What are the problems faced by java programmers who don't use layout managers?
What do you understand by access specifiers in Java?
What do you mean by Function Overloading in java?
What are strings in physics?
What are the Main functions of Java?
What is the public field modifier?
give an example for encapsulation?
Is string is a data type?
What is this keyword in java?