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 thread safe in java?
What is the difference between comparison done by equals method and == operator?
Write a java program for binary search?
Can we create a class inside a class in java?
Is space a character in java?
What are recursive functions?
How to create an interface?
What is a singleton puppy?
What are the uses of java?
What is lossy conversion in java?
Do extraneous variables affect validity?
Is 64bit faster than 32 bit?
What will happen when using pass by reference in java?
Difference between association, composition and aggregation?
What is a conditional equation?