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 java beans?
What is autoboxing in java?
What is computer compiler?
How to set the permissions to a file in java?
Explain thread life cycle in java?
Can we have try block without catch block?
How many types of voids are there?
Are the imports checked for validity at compile time? Will the code containing an import such as java.lang.abcd compile?
What restrictions are placed on method overloading?
What is the difference between static method and instance method in Java?
What is a void method?
What is an abstract class and what is it’s purpose?
How can you make sure that your singleton class will always return single instance in multi-threaded environment?
What is boolean strategy?
Can you use this() and super() both in a constructor?