What is the difference between C++ & Java?

Answer Posted / nitin agrawal

the main difference between c++ and java is that java is
consistent and it is a dynamic model.it is compact and
portable binary code while c++ is not. and most important
difference is the it has safe and secure execution
environment.

Is This Answer Correct ?    202 Yes 31 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the main concepts of oops in java?

592


When to use runnable interface vs thread class in java?

514


Why constructor has no return type?

636


What is the difference between stringbuffer and stringbuilder class?

564


Do I need java on my computer?

524






What is the formula to calculate percentage?

528


Can we define constructor in inner class?

535


What are the application of stack?

498


What about main thread in java?

643


Is there a case when finally will not execute?

563


What is a singleton class in Java?

502


Define a java class.

802


Name few java util classes introduced with java 8 ?

497


What is the purpose of return statement?

625


What is generic type?

568