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
What is collections framework?
State the difference between creating string as new () and literal.
What does bitwise or mean?
What are jee technologies?
whar are the draw backs of programming lang step by step in Clang and next in C++ and next and in Java nad in .Net
What is an object's lock and which object's have locks in java programming?
Explain the meaning of java applet.
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What are the high-level thread states in java programming?
Write a code to create a trigger to call a stored procedure
What is the size of an array?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
What are variable names?
Is integer a class?
Is there a way to increase the size of an array after its declaration?