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?

Answers were Sorted based on User's Feedback



Can an interface extands a class?..

Answer / 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

Can an interface extands a class?..

Answer / manikandan.s

No,Interface can't extends class.It ll throw compile time
exception.

can
class extends class
class implements interface,interface,...
interface extends interface

can't

class extends class,class
interface implements class

Is This Answer Correct ?    9 Yes 0 No

Can an interface extands a class?..

Answer / sunil kale

no interface can't extends class, it only extends another
interface.
Class implpements interface.

Is This Answer Correct ?    5 Yes 0 No

Can an interface extands a class?..

Answer / kishor

No,

Interface extends one or more interfaces.

but not class or classes.

class extends class, but not classes.

class implements one interface , more interface..

Is This Answer Correct ?    2 Yes 0 No

Can an interface extands a class?..

Answer / sujoy saha

yes.......but a class can't extends interface

Is This Answer Correct ?    6 Yes 45 No

Post New Answer

More Core Java Interview Questions

What are the basic control structures?

0 Answers  


What is access modifiers?

1 Answers   Cap Gemini,


What is jvm? How its run?

0 Answers  


Can anonymous class have constructor?

0 Answers  


How can we create a synchronized collection from given collection?

0 Answers  


Differentiate between stringbuffer and stringbuilder in java.

0 Answers  


What is the synonym of string?

0 Answers  


What classes of exceptions may be caught by a catch clause in java programming?

0 Answers  


What is difference between printf and scanf?

0 Answers  


What is the difference between serializable and externalizable interfaces?

0 Answers  


Can we rethrow the same exception from catch handler?

0 Answers  


Can we initialize the final blank variable?

0 Answers  


Categories