How multipleInheritance is possible in java?
Answer Posted / gangadhar
See gopi what namrata said is exactly correct,
in java Interfaces r given for Polymorphism not multiple
inheritance.
more over Inheritance means:the super class object is sub
object to sub class,but when u going through interfaces we
r not creating object directly. so come super class object
is sub object to sub class object.
my conclusion is java doesn't support multiple inheritance
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Are arrays primitive data types?
Can we use different return types for methods when overridden?
How can we create objects if we make the constructor private ?
What is lambda programming?
Outline the major features of java.
What will happen if non-synchronized method calls a static synchronized method and what kind of lock it acquires?
Given a singly linked list, determine whether it contains a loop or not without using temporary space?
What do you mean by a JVM?
Does sprintf add a null terminator?
what is object-oriented programming in java?
If you are given the name of the function at run time how will you invoke the function?
Why object class is super class for every class in java?
How can I debug the Java security exceptions and AccessControlExceptions?
Is java a pure object oriented language?
What are the types of methodology?