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
Can we sort arraylist in java?
Which class is the superclass for all the classes?
Do loops java?
What is a constructor, constructor overloading in java?
What is the difference between inner class and nested class?
What is intern method in java?
How does system arraycopy work in java?
What is jvm? How its run?
What are the various access specifiers in java?
What is primitive array?
Can a class have more than one object?
What class allows you to read objects directly from a stream in java programming?
what do you understand by synchronization? : Java thread
What is default constructors?
What is singletonlist in java?