What is the difference between C++ & Java?

Answer Posted / dilip chaudhary

The main difference between c++ and java is that java is a
platform independent i.e. write once and run any where,but
c++ doesn't.

Is This Answer Correct ?    9 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is oop in java?

517


Can we write multiple catch blocks under single try block?

563


How we can declare a static variable?

644


What is the memory leak in java?

520


Who is founder of java?

522






What is the size of int?

584


What is the difference between error and an exception?

561


What is the range of a character variable?

536


How can you avoid serialization in child class if the base class is implementing the serializable interface?

626


What is the difference between jdk, jre, and jvm?

562


Will the jvm load the package twice at runtime?

566


Give differences between Quicksort &Mergesort. When should these sorts be used andwhat is their running time in java?

670


What is keyword and identifier?

630


Java Compiler is stored in JDK, JRE or JVM?

1043


Is null a string or object in java?

539