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

what is the constructor and how many types of constructors are used in java?

531


Can we serialize static variables in java?

650


What is entry set in java?

530


Which class cannot be a subclass in java?

539


How many arguments can a method have java?

540






What is the default size of load factor in hashing based collection?

558


What does the ‘static’ keyword mean? Is it possible to override private or static method in java?

563


What is a final class in java?

539


How to instantiate static nested classes in java?

562


What is busy spin, and why should you use it?

586


What are internal and external variables?

542


Mention a package that is used for linked list class in java.

524


Name the components that are termed to be Heavy-weight component but available in Light-weight components?

1982


why Java does not support multiple inheritances?

700


What is square root in java?

584