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
How many types of keywords are there?
What is JFC?
How to create com object in Java?
Can you explain the meaning of aggregation and composition
What is scope of a variable?
What is protected in java?
What is not thread safe?
What is the purpose of static keyword in java?
Is it possible for yielded thread to get chance for its execution again ?
Is java hashset ordered?
What is numeric function?
What is a parameter in simple terms?
Explain jvm, jre, and jdk?
How can you avoid serialization in child class if the base class is implementing the serializable interface?
How hashmap works in java?