Is java supports multiple inheritance? explain?
Answer Posted / kash
Two types of inheritance in Java:
Class inheritance : A sub class can have only one base class ( Single inheritance). Although the sub class can itself be a base class to another sub class ( Multi level inheritance).
Interface inheritance: interface allows multiple classes to implement abstract methods defined on it ( so supports multiple inheritance)
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What does pointer mean?
Is .net better than java?
What is your platform?s default character encoding and how to know this?
What is close method? How it's different from Finalize & Dispose?
What is externalizable?
Why we go for collections in java?
Explain about serializable interface in java?
What is the difference between && and & in java?
What is singleton class and how can we make a class singleton?
When can we say that threads are not lightweight process in java?
What is implicit object in java?
How does arraylist work in java?
What is JDBC Driver interface?How can you retrieve data from the ResultSet
Can we have a try block without catch block?
What is appletviewer?