What is the difference between C++ & Java?

Answer Posted / surajit mishra

c++ is advanced version of c. so,it has procedure oriented
concept also it has object oriented concept but java has
truely object oriented concept.

Another difference is java is platform independent means it
can be accepted by any type of operating system but c++ is
not platform independent.

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an anonymous class in java?

538


What are meta-annotations?

552


Why we go for collections in java?

540


Which collection is ordered in java?

530


In how many ways we can create threads in java?

628






Can we modify the throws clause of the superclass method while overriding it in the subclass?

545


Is empty in java?

577


What is stream api in java8?

535


Explain the use of javap tool.

629


Explain static nested classes ?

589


What is an enumeration?

566


If a method is declared as protected, where may the method be accessed in java programming?

496


Explain the differences between static and dynamic variables?

580


Explain the difference between jdk, jre, and jvm?

590


What are voids?

530