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 / shrikanth
dude java does support multiple inheritence,although we dont
implement directly we will do it using interfaces. Good
observation from you.
| Is This Answer Correct ? | 9 Yes | 5 No |
Post New Answer View All Answers
What happens if constructor is private?
What is fail first in java?
1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?
Explain the pointers in Java?
What is the use of parseint in java?
What is an example of a keyword?
How does regex work?
worst case complexities of Quick sort and Merge sort.
What is the difference between an if statement and a switch statement?
Can an interface have a constructor?
Explain about the performance aspects of core java?
What is difference between wait and notify in java?
How do you clear a method in java?
What is get () in java?
What are internal variables?