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 join () in java?
How do you avoid global variables?
What is the difference between iterator and list iterator?
What is the meaning of I ++ in java?
What are the two main uses of volatile in Java?
Is java an ide?
What are the practical benefits, if any, of importing a specific class rather than an entire package (e.g. Import java.net.* Versus import java.net.socket)?
What does flagged out mean?
How can we access some class in another class in java?
How do you input a string in java?
What is dynamic array in java?
Explain the public class modifier?
What is percentage in java?
How can we break singleton in java?
Explain what pure virtual function is?