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

How do you create a sop?

949


what r advatages of websphere? & how to deploy?

2106


What is the difference between delete and delete[]

1412


How will you calculate the depth of a binary tree if the tree contains 15 nodes?

1034


What is function and its uses?

1040


State some situations where exceptions may arise in java?

1005


What are the 3 types of control structures?

960


Difference between character constant and string constant in java ?

962


What is foreach loop in java?

961


What is java full form?

959


How do I get the | symbol on my keyboard?

1024


Why is the type for real numbers called double?

906


Does substring create a new object?

948


What does next mean in java?

926


Which class should you use to obtain design information about an object in java programming?

1038