how can be object class inherited to all class in a program
when java does not support multiple inheritance??
Answer Posted / ashok yadav
A class always extends only one class. That is the Object
class or the class defined with the extends keyword. That
class in turn can extend also only one class until eventual
the Object class is reached.
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
What is Enum in Java?
Write a program to print fibonacci series up to count 10.
Which method cannot be overridden in java?
How to make object serializable in java?
What is java in detail?
How dead lock situation occurs in java and how you can identify it?
What do you understand by classes in java?
Where to store local variables?
Is there any way to skip finally block of exception even if some exception occurs in the exception block?
There are two classes named classa and classb. Both classes are in the same package. Can a private member of classa can be accessed by an object of classb?
What is methodological theory?
Difference between Linked list and Queue?
What are structs in java?
What is string buffer?
How to obtain a performance profile of java program