Can you extend more than one interface?

Answer Posted / ganesh

we can extends one or more interfaces by using an interface.
i.e)Multiple inheritance is available in case of interfaces.

we can't extends an interface by using a class,but we able
to implemented.

Sytax:

1)interface interfacename1 extends interface2 //true
2)interface interfacename1 extends
interface2,interfacename2,..............interfacenamen //true

Is This Answer Correct ?    16 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a layout manager and what are different types of layout managers available in java awt?

690


What is a line break example?

549


What is flush () in java?

533


How do you reverse a string in java?

556


List types of storage classes in java?

595






What is bitwise complement?

476


What does bitwise or mean?

542


What does this () mean in constructor chaining concept?

529


How we can skip finally block of exception even if some exception occurs in the exception block in java?

493


Is java se open source?

542


what is an objects lock and which objects have locks? : Java thread

507


List the different types of classloaders in java.

480


What is the SimpleTimeZone class?

1776


Why is stringbuffer faster than string?

465


How many ways can we create singleton class?

481