What is the difference between C++ & Java?

Answer Posted / saket

C++ supports multiple inheritence but Java provides
interfaces in case of multiple inheritence.

Is This Answer Correct ?    399 Yes 28 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you start a thread twice in Java?

617


What is widening and narrowing in java? Discuss with an example.

546


Why Set interface contains unique elements, what internally implemented for this so that it contains unique elements?

7385


What is the different types of functions?

543


Why arraylist is not synchronized in java example?

453






When is update method called?

655


What is difference between this and super keyword?

498


Is alive method in java?

493


Why is stringbuffer called mutable?

553


What does replaceall do in java?

471


Can you give names of Container classes?

1842


How do you use spaces in java?

511


How do you use compareto?

540


I want to persist data of objects for later use. What is the best approach to do so?

580


What is the difference between exception and error in java?

482