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 does the append?

1001


Explain creating threads by implementing runnable class?

1170


Is 0 true or false in java?

988


What are the advantages of functions?

921


What is parameter example?

1024


'A class is a template for an object' explain this statement.

1056


What are the advantages of unicode?

1011


What is thread safe singleton?

949


Give the difference between the println method and sqrt method?

1086


What are keywords and reserved words in java?

1063


What is covariant return type?

1115


What is tochararray in java?

939


Which keyword specify that a variable is effectively final ?

994


What is hashmap in java?

1058


Can we make a constructor final?

1021