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 languages are pass by reference?
What is java lang string?
Explain the private field modifier?
What is the main advantage of passing argument by reference?
What is difference between equals and hashcode method?
What is a wrapper method?
When do you call copy constructor?
Is integer a class?
What is difference between classpath and path variables in java?
What is double data type?
Why we used break and continue statement in java?
When should I use stringbuffer?
What is the unit of plancks constant?
what are the high-level thread states? : Java thread
Can we execute java program without main method?