Answer Posted / neema
Java doesnot support multiple inheritance.
interface is a way to achieve multiple inheritance in java,
an interface contains only abstract methods and final
variables.
the class that implements the interface should define the
code for the methods
Is This Answer Correct ? | 7 Yes | 1 No |
Post New Answer View All Answers
What is off heap memory?
Is break statement can be used as labels in java?
Which is better stringbuilder or stringbuffer?
What is a treeset in java?
List the three steps for creating an object for a class?
How do you achieve singleton?
What is the list interface in java programming?
What is a singleton class in Java?
What are different access specifiers in java?
how many types of Inheritance?
What is import java util arraylist?
how come we know the object is no more used in the class?
Explain about static nested classes in java?
What is a functional interface?
How many types of threads are there in java?