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
What are different types of multitasking?
Is java an open source?
Can each java object keep track of all the threads that want to exclusively access it?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
Which non-unicode letter characters may be used as the first character of an identifier?
What is the use of pattern in java?
What is run time allocation?
Why does java does not support multiple inheritance? Explain
What is polymorphism in java? What are the kinds of polymorphism?
How many bits is a string?
What do you mean by constant time complexity?
What are static variables and functions?
What is the generic class?
Which variables are stored in stack?
What is an object in java?