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 does not have object creation

Answer Posted / kd singh

"Abstract class has not implemented method so, we cant create the object" "The word 'Abstract' instruct the clr that not to create object of the class"

But in a simple class where we have all virtual method, able to create an object???

Also, we can define different access modified to Abstract class constructor like private, protected or public.

An abstract type is defined largely as one that can't be created. You can create subtypes of it, but not of that type itself. The CLI will not let you do this.

An abstract class has a protected constructor (by default) allowing derived types to initialize it.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are variables important in research?

906


Is arraylist ordered?

1004


What is a class reference?

1017


How to overcome the exception object reference not set to an instance of object?

1098


What is an i/o filter?

1662


Why are constructors used?

963


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

1284


What is preflight request?

945


Can we convert list to set in java?

921


What is the independent variable in an experiment?

906


What class allows you to read objects directly from a stream in java programming?

992


What is use of super keyword?

915


If a method is declared as protected, where may the method be accessed?

960


What is meant by local variable and instance variable?

979


What are the 4 types of research methods?

873