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...

Hi buddy, well i got that there is always a default
constructor with abstract class. OK. But why not with interface?

Thanks in advance.

Answer Posted / harsha

Just a samll correction... Interfaces are part of
inheritance tree.
Inheritance is identified by both extends and implements
keywords.

Regarding the default constructor.. All the classes which
extend Object class will have a default constructor.

As we all know any interface cant extend Object class..
Interface cannot have default constructor.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the synonym of string?

1073


Is empty string in java?

1152


What is an eror in java?

1025


What does serializing data mean?

917


What is the major difference between linkedlist and arraylist?

1021


List some important characteristics on jre

1056


What do you understand by casting in java language?

1016


What is the reason behind using constructors and destructors?

1046


What is the difference between variable & constant?

1006


Differentiate between the constructors and methods in java?

928


What is off heap memory?

986


how to split string in java?

1195


What is the difference between length and length () in java?

927


how to create daemon thread in java?

1050


If a variable is declared as private, where may the variable be accessed?

1044