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 the file type?
Can a class have more than one object?
Which class is the superclass for every class in java programming?
What is the difference between form & report?
What is the exception hierarchy in java?
What's the purpose of using break in each case of switch statement?
Describe 2 different ways to concatenate two strings.
How do you create a method in java?
What is r in java?
What do you mean by JVM?
Can we increase array size dynamically in java?
What are the 6 boolean operators?
What does it mean to be immutable?
What is hashing in java?
What's the access scope of protected access specifier?