all are saying java doesn't support multiple inheritance but
by default Object class is super class for all the user
defined classes and we can extend atmost one class so each
class can extend more than one class so java supports
multiple inheritance?i am confused with this,pls any one
explain me.
Answer Posted / bindu
i think one class defaultly have the features of Object
class bcoz it is parent to all classes.
so v r not directly extends the Object class.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is the arraylist in java?
What programs use java?
How do you replace all in word?
What does || mean in code?
what is the role of xml in core java?? and how we can use it?? can somebody give a sample program with explanation and from where i can read more about xml?????
Can we use String with switch case?
Why char array is preferred over string for storing password?
Differentiate between stringbuffer and stringbuilder in java.
Why do we need singleton?
What is singleton class example?
How to handle a web browser resize operation?
Differentiate between vector and array list.
Is empty string in java?
What is boolean false?
Name few java 8 annotations ?