Answer Posted / gyana
No actually java doesn't support multiple inheritance.But
we can use this by using Interface in java.
for example Class x,implements y, implements z.
here x is the main class and the two interface y and z
implements it in its program.y and z are two interfaces not
classes.
| Is This Answer Correct ? | 3 Yes | 2 No |
Post New Answer View All Answers
What is hashing principle in java?
What do you mean by composition in java?
Explain about arraylist?
Explain about transient variables in java?
Which is a valid identifier?
What does %d do in java?
What is immutable class in java?
Write code to implement bubble sort in java?
What does percent mean in java?
What is a hashmap used for?
Why set do not allow duplicates in java?
Explain the difference between private, public, package and protected in java?
What is a variable in java?
What is int lol?
What are accessor methods in java?