How multipleInheritance is possible in java?

Answer Posted / namrta

Multiple Inheritance is not at all posiible in Java.
Reason: Inheritance means reusability of code and
Interfaces are just the declaration of methods not
implementation.We have to write code for methods for the
interface in class which is implementing that Interface.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does || mean in code?

536


What is the difference between inheritance and encapsulation?

587


What does indexof mean?

526


What is constructor and its types?

533


What is difference between null and void?

523






define polymorphism in java

626


What is the difference between compare and compareto in java?

487


Is null function in java?

562


Explain what access modifiers can be used for methods?

564


What is stringwriter?

535


write a program that list all permutations of ABCDEF in which A appears before B?

2007


Define max and min heap, also the search time of heap.

580


Can java arraylist hold different types?

485


What is an accessor?

1034


Why stringbuilder is not thread safe in java?

561