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 abstract class have constructor how can you achive
this ?

Answer Posted / bhargava

You cannot crate the constructor for an abstract class
directly. But you can create constructor for subclass for
an abstract class by making new class sub class for the
abstract class.

Is This Answer Correct ?    1 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

State the main difference between c++ and java?

1045


What is anti pattern in cyber security?

968


What is the default size of set in java?

918


What is slash r?

960


What is a line separator in java?

936


Are arrays classes in java?

975


What is the purpose of the enableevents() method in java programming?

1098


Is hashset ordered java?

1041


Which are different kinds of source code?

1059


Where are global variables stored?

901


Can we make main() thread as daemon?

1044


What is lossy conversion in java?

1132


How many bits is a double?

955


How does hashmap work in java ?

990


Why should I use abstract class?

1025