What is the difference between C++ & Java?

Answer Posted / nagendra.r

the main difference between c++ and java that c++ contains
multiple inhearitance but java contains interface instead
of multiple inhearitance

Is This Answer Correct ?    4 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to instantiate member inner class?

619


What is loop in java?

521


What is difference between fileinputstream and filereader in java?

552


What is the function of compareto in java?

581


Explain differences between collection api and stream api?

605






Can we use different return types for methods when overridden?

552


How can we avoid including a header more than once?

602


What is the list interface?

599


What does 0 mean in boolean?

533


what do you understand by the term string with respect to java?

521


What is == mean?

545


Differences between C and Java?

609


How to store image in arraylist in java?

503


How many bits is a double?

524


What is size () in java?

536