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 an interface extands a class?

Answer Posted / pramod p deore

No, an interface can extends only other interface.
Interface can not extends a class or abstract class.

1) a class can implements an interface but does not extends
interface.
2) interface can extends other interface but does not
implemets other interface.
3) a class can extends other class but does not implements
other class.

Is This Answer Correct ?    60 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the rules for naming an array?

1035


What does flagged out mean?

1039


What is the difference between instanceof and isinstance?

1037


What is the difference between static (class) method and instance method?

1059


How objects are stored in java?

1019


What about static nested classes in java?

1118


Can you change array size in java?

947


Is space a char?

905


Explain a situation where finally block will not be executed?

1012


Which is easier netbeans or eclipse?

1048


What is module with example?

982


What are the object and class classes used for?

1029


Differentiate between stringbuffer and stringbuilder in java.

1004


Can we create more than one object singleton class?

1021


Are arrays primitive data types?

1156