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 singleton service?
Differece between class and generic class?
What does || || mean in math?
In a class implementing an interface, can we change the value of any variable defined in the interface?
How can we make a class singleton?
What is the difference between dom and sax parser in java?
Explain the Propertie sof class?
Detail discussions on JVM, memory management and garbage collector.
Is arraylist sorted in java?
Can a main method be overloaded?
Can we use a default constructor of a class even if an explicit constructor is defined?
What is meant by binding in rmi?
How to access arraylist elements in java?
What are parsers? Dom vs sax parser.
Explain the different forms of polymorphism?