why java does not support multiple inheritance
Answer Posted / priyanka
Multiple inheritance means derive class from multiple
classes but java can't extend multiple classes. it can
extend one class but multiple interfaces. so create
multiple interfaces n then implement it.
Java have such fzacility to avoid ambiguty.
Thank u
| Is This Answer Correct ? | 35 Yes | 17 No |
Post New Answer View All Answers
What is the difference between static and global variables and also define what are volatile variables?
Why deletion in linkedlist is fast than arraylist?
Can we convert stringbuffer to string?
How do you reverse a string in java?
Can we create object of inner class in java?
Explain about varargs in java?
How many bits is a char?
What is difference between calling start() and run() method of thread?
What is regex used for?
Which access specifier can be used with class ?
What does substring mean?
Is array primitive data type in java?
Write a method that will remove given character from the string?
What are the legal operands of the instanceof operator?
Why is java called java?