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 indexof in java?
What are packages in java?
Can a constructor be private and how are this() and super() method used with constructor?
What about member inner classes?
How destructors are defined in java?
What is singleton class and how can we make a class singleton?
What is boolean flag in java?
How does the java compiler work?
What is preparedstatement in java?
What are jee technologies?
what is an objects lock and which objects have locks? : Java thread
What is difference between path and classpath?
How to access arraylist elements in java?
What are scriptlets?
What is difference between adapter class and listener?