all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.
Answer Posted / d.suganya
Java supports Multiple Inheritence using Interface concept
by providing common implementations , and more important to
observe is every class that we use in java is inherited by
Object class, so even though we can extend from other
classes, This clearly shows that JAVA supports Multiple
Inheritence..(Sharandesai007@gmail.com)
| Is This Answer Correct ? | 0 Yes | 1 No |
Post New Answer View All Answers
What are different types of inner classes ?
How many types of threads are there in java?
What is visibility mode?
How do you empty a list in java?
What are the four pillars of java?
What is private static class in java?
What is a variable and constant?
What is static import in java?
How will you initialize an Applet?
what is abstract class in Java?
What is set string?
Where local and global variables are stored?
what is the difference between a threads start() and run() methods? : Java thread
Why main() method is public, static and void in java ?
Explain 5 io best practices?