Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

Can you extend more than one interface?

Answer Posted / rajeshbonepalli

An interface can extend other interfaces, just as a class
can extend or subclass another class. However, whereas a
class can extend only one other class, an interface can
extend any number of interfaces. The interface declaration
includes a comma-separated list of all the interfaces that
it extends.

interface Sameinterface1 { }

interface Sameinterface2 { }

interface Sameinterface3 { }
....

...
interface SameinterfaceN { }

interface Sameinterface4 extends
Sameinterface1 ,Sameinterface2 ,...Sameinterface3 ,
SameinterfaceN {

}

Is This Answer Correct ?    3 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which container method is used to cause a container to be laid out and redisplayed in java programming?

1109


How do I know if java is installed?

1089


What is the abstraction?

1020


What do you understand by classes in java?

1010


What are the differences between getting and load method?

1194


Can we have a try block without catch block?

986


What are the approaches that you will follow for making a program very efficient?

1078


What is the use of set in java?

1124


State the merge-sort principle and its time complexity.

979


Lowest Common ancestor in a Binary Search Tree and Binary Tree.

932


what do you mean by stream pipelining in java 8? Explain

1028


Is integer passed by reference in java?

1015


Explain different forms of polymorphism?

1150


How many types of variables are there?

1131


In which order the iterator iterates over collection?

995