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

How large is a boolean?

948


which class is the wait() method defined in? : Java thread

887


How many types of voids are there?

918


How do you create a bulleted list?

1190


What is a parameter used for?

913


What is the difference between notify and notifyall method?

1100


What is function overriding and overloading in java?

1047


How does hashmap work in java ?

984


What is stream api in java8?

1069


Define a java class.

1330


Why does my function print none?

890


Explain the difference between abstraction and encapsulation.

921


What is exception propagation?

1067


What are the restrictions that are applied to the java static methods?

926


Name some classes present in java.util.regex package.

978