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 a Transient Object?
What is an object class?
Which types of exceptions are caught at compile time?
How do you check if a number is a perfect square?
How to stop a thread in java? Explain about sleep () method in a thread?
what is meant by Garbage collection?
What are the main differences between notify and notifyAll in Java?
Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain
How do you end a program?
What are the 3 types of control structures?
What is the difference between numeric and integer?
What are the different ways of creating thread?
Are functions objects in java?
What is boolean query?
Why main function is static?