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
Can we split string with in java?
Can we write a class without main method in java?
Explain the difference between protected and default access.
What is a constructor overloading in java?
Is string a datatype?
take an array with -ve and +ve value both.find out the nearest value of 0(zero).if two values are same like(-2 and +2)then extract +2 is nearest of 0(zero).
What is string length in java?
What is singleton class example?
What is a map? What are the implementations of map?
Why are data types important?
How do you do a line break in java?
Are maps ordered java?
Why we use methods in java?
What’s the difference between the methods sleep() and wait()?
what do you understand by the term string with respect to java?