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 is a stack class in java ?

597


Is java a utf 8 string?

515


Is it possible to compare various strings with the help of == operator?

533


What do you mean by local variable and instance variable?

499


State the difference between strings and arrays.

584






Is string is a keyword in java?

536


A non-static inner class may have object instances that are associated with instances of the class’s outer class. A static inner class does not have any object instances.

529


Explain the difference between an object-oriented programming language and object-based programming language?

535


what is difference between equals and ==?

575


Which api is provided by java for operations on set of objects?

888


What is variable explain with example?

560


How would you dynamically allocate memory to an array?

571


What is meant by bytecode?

564


Difference between character constant and string constant in java ?

544


What is data member in java?

488