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
Hi.... I applied for the post of scientific officer/Engineer-SB(Programmer).Please post the syllabus and sample papers.
When should I use stringbuffer?
What about interrupt() method of thread class ?
What is bean? Where it can be used?
What is java in simple terms?
What are thread groups?
How do you add spaces in java?
Explain hashset and its features?
Is it possible to define a method in java class but provide it’s implementation in the code of another language like c?
What super () does in java?
Is a string literal?
Can we split string with in java?
How to sort an unsorted array in java?
Why string is not thread safe?
What do you mean by formatting?