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
What does || mean in code?
What is the difference between inheritance and encapsulation?
What does indexof mean?
What is constructor and its types?
What is difference between null and void?
define polymorphism in java
What is the difference between compare and compareto in java?
Is null function in java?
Explain what access modifiers can be used for methods?
What is stringwriter?
write a program that list all permutations of ABCDEF in which A appears before B?
Define max and min heap, also the search time of heap.
Can java arraylist hold different types?
What is an accessor?
Why stringbuilder is not thread safe in java?