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 / 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 fundamental datatype?

939


What is the differences between heap and stack memory in java? Explain

927


What is nested top-level class?

983


What about interrupt() method of thread class ?

1012


What is ‘has a’’ relationship in java?

1154


When parseint method can be used?

891


What is the difference between inner class and nested class?

1006


What is the use of default method in interface in java? Explain

929


What is difference between class and object in java?

1018


4.1 Supply contracts (in the form of comments specifying pre- and post conditions) for the enqueue() method of the LinkedQueue class given in the Appendix. (2) 4.2 Let Thing be a class which is capable of cloning objects, and consider the code fragment: Thing thing1 = new Thing(); //(1) Thing thing2 = thing1; //(2) Thing thing3 = (Thing) thing1.clone(); //(3) Explain how the objects thing2 and thing3 differ from each other after execution of the statements. (

1808


How do you compare two objects?

877


What is a stringbuffer?

916


How do you define a set in java?

944


How do you escape in java?

1003


What is difference between variable declaration and definition?

914