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

Lowest Common ancestor in a Binary Search Tree and Binary Tree.

562


How many unicode characters are there?

560


Is hashset ordered?

554


How big is a boolean?

583


What is the difference between overriding & overloading?

566






How does class forname work in java?

487


What steps are taken when the OS shifts from one-thread execution to another?

906


Where are global variables stored?

509


Write a program to show whether a graph is a tree or not using adjacency matrix.

600


Why is string buffer better than string ?

604


Can It is possible to synchronize the constructor of a Java Class?

599


Should a main method be compulsorily declared in all java classes?

536


How do you print array in java?

560


Difference between ‘is-a’ and ‘has-a’ relationship in java?

543


What is Java Annotations?

558