how can be object class inherited to all class in a program
when java does not support multiple inheritance??
Answer Posted / kumar
Actuly in above it is the case of multilevel inheritance.and obj clas is super class which is extended by other classes tht is tree structure i.e 1 - * form . Multiple inheritance is wher 1 class is having 2 or more base class at same time ie *-1. So it is not multiple it is hiricle inheritnce.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can long be null in java?
Can a class have multiple superclasses?
What do you understand by looping in java? Explain the different types of loops.
Difference between ‘>>’ and ‘>>>’ operators in java?
What is replacefirst in java?
Write a java program to check if a number is prime or not?
What is the difference between equals() and?
What is api in java?
what is mutual exclusion? How can you take care of mutual exclusion using java threads? : Java thread
What is the most important feature of java? What is an interface?
What is the use of http-tunneling in rmi?
What is private static class in java?
Explain serialization and deserialization in java?
What is the map interface in java programming?
Why there are some null interface in java? What does it mean?