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

What is jit compiler ?

974


What does sprintf mean?

943


What is the map interface in java programming?

1013


What is a concrete classes? Is Java object class is concrete class?

972


What are the data types supported by java? What is autoboxing and unboxing?

1015


What is a function easy definition?

1002


What are the two categories of data types in the java programming language?

983


how to create multithreaded program? Explain different ways of using thread? When a thread is created and started, what is its initial state? Or extending thread class or implementing runnable interface. Which is better? : Java thread

1027


What is compareto () in java?

970


Why java does not support pointers?

1032


Which is a valid identifier?

1198


Are arrays immutable in java?

1078


Which one of the following suits the description of a string better: derived or primitive?

948


what is the purpose of the wait(), notify(), and notifyall() methods? : Java thread

982


What is the common usage of serialization? What exceptions occur during serialization?

1110