What is the difference between C++ & Java?
Answer Posted / gokul
1) c++ is platform dependent
Java is platform independent
2) multiple inherence is possible in c++ but not in Java
3) Pointers possible in c++ but not in Java
4) we cant create web applications in c++ but can in Java
5) A c++ program can be without class, but java program
should be in class :)
| Is This Answer Correct ? | 26 Yes | 3 No |
Post New Answer View All Answers
Is nan false?
What is n in java?
Define how destructors are defined in java?
What is static class
What is the exact difference in between Unicast and Multicast object?
Which collection is best for sorting in java?
What is variable explain?
Why string is immutable or final in java
What is the difference between logical data independence and physical data independence?
Explain the difference between protected and default access.
Why are the destructors for base class and derived class called in reverse order when the program exits
What is the default value of the local variables?
Can you give few examples of final classes defined in java api?
What is binary search in java?
What is an example of a conditional statement?