Answer Posted / midhun h kumar
No ...
Multiple inheritance is not allowed in Java...
but infact we can achieve the functionality using interfaces...
we can define interfaces and any class can implement these
interfaces..
a class can implement any number of interfaces but can
extend only one class..
thus we can achieve what we expect to get from multiple
inheritance thru interfaces...
| Is This Answer Correct ? | 10 Yes | 2 No |
Post New Answer View All Answers
Does set allows null in java?
In java, how many ways you can take input from the console?
What is data type in computer?
What is java used for on a computer?
What's the default access specifier for variables and methods of a class?
How do you define a method?
What is the difference between integer parseint and integer valueof?
How we can execute any code even before main method?
What is the purpose of java?
Can size_t be negative?
Where can I find jdk in my computer?
What is complexity in java?
Which category the java thread do fall in?
What is the use of inner class?
What is wrapper class html?