Answer Posted / karthik
"Can some one explain about this case.
-> A is a super class and B extends from A.
-> java.lang.Object is super class for all classes.
now in this case B extends from A and B extend from java.lang.Object(because is default super class) then it is multiple inheritence right? "
Mr Suresh Aelidhe,
If a class extends any other class then it wont extends Object class
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
How garbage collection is done in java?
Is static a singleton?
What is meant by interface?
What is the properties class?
What is member in java?
How would you use Bubble Sort to sort the number of elements?
What are nested classes in java?
What is intern method in java?
What happens when a thread cannot acquire a lock on an object in java programming?
What is a finally block?
Is it possible to compare various strings with the help of == operator? What are the risks involved?
What does you mean in math?
How to create a custom exception?
How do you sort in java?
Can we serialize static variables in java?