What is the difference between C++ & Java?

Answer Posted / manoj ku. mallick

c++ is advance version of c language .
c++ is a language where as we treat java as a technology
not just as a language.
the main differences between two are given
1.purely object oriented.
2.java is simple(it doesnot use pointer)
3.java is secure.
4.it doesnt support multiple inheritance
5.interface concept which play a vital role in java.
6.multithreading concept also play a vital role.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can we compare two strings in java?

554


What happens when I use / and % with a negative numerator?

536


what is the difference between thread and runnable types? : Java thread

542


Why are the methods of the math class static?

575


what do you mean by marker interface in java?

541






What’s the difference between applets and standalone program?

528


How finally used under exception handling?

510


What is stringwriter?

536


How do you create immutable object in java?

535


What are the drawbacks of singleton class?

528


What is == in java?

562


Why does it take so much time to access an applet having swing components the first time?

1390


What is the difference between a constructor and a method?

562


I don’t want my class to be inherited by any other class. What should I do?

571


Can we pass null as argument in java?

503