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

why abstract class will have a constructor?

Answer Posted / ram

Abstract class have the constructor in it just to instantiate its instance variables. Where as Interfaces are not containing any instance variables. That is why, they dont have constructor concept.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are byte codes?

1145


What is stack example?

966


What is the primitive type short?

984


When a lot of changes are required in data, which one should be a preference to be used? String or stringbuffer?

1195


What is size of int in java?

1006


java program with complete 4 oops concepts implemented example

3100


What does it mean that a class or member is final?

947


What happens when you add a double value to a string?

946


When is update method called?

1098


Hi friends am new to java. I read jar file means collection of java files. For executing struts application what are the necessary jar files. " struts.jar " file contains what. can u explain

1872


how to split string in java?

1154


What is the meaning of variables in research?

991


What is used of static keyword in java?

1012


How is the marker interface used in Java?

1047


Which is better arraylist or vector?

979