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
How variables are declared?
Can you explain the cs option of java interpreter?
How can you read an integer value from the keyword when the application is runtime in java? example?
What is the purpose of abstract class?
What is a final class ?
What is double in java?
How to make object serializable in java?
What is a lightweight component?
Can you call one constructor from another if a class has multiple constructors?
Can we create constructor in abstract class ?
Define a package.
What is difference between static and final?
What are the four integer types supported by java?
What is computer compiler?
What is garbage collection? Can it be forced to run?