Java does not support multiple inheritance.
how interface helps in the same?

Answer Posted / sadiq

In Java class cannot extend more than one class,where as a
class can implement more than one interface.

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are constructors in java?

751


What is the base class of all classes?

745


What is class and object in java?

750


How do you sort an array in java?

753


What is == and === in javascript?

755


What are the steps involved to create a bean?

876


Explain the use of javap tool.

834


do I need to use synchronized on setvalue(int)? : Java thread

745


What is anti pattern in cyber security?

727


How do you test a method for an exception using junit?

784


what happens when a thread cannot acquire a lock on an object? : Java thread

793


Is it possible to compare various strings with the help of == operator? What are the risks involved?

827


what is the difference between future and callable interface in java?

845


Write a function to print Fibonacci series and Tribonacci series?

937


How do you sort a string in java?

717