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 void methods?

1030


Is vector thread safe in java?

1061


Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?

1014


How do you reverse a word in java?

1090


What is a function in programming?

1050


How do you add an element to an arraylist in java?

952


Mention the default values of all the elements of an array defined as an instance variable.

990


How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?

1021


What is the size of a string in java?

1016


Why is the type for real numbers called double?

963


How does remove work in java?

983


What is difference between equal and == in java?

963


What language is pass by reference?

1023


How garbage collection is done in java?

1060


What is object-oriented programming?

1129