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 we create instance for Abstract class?

Answer Posted / lakshminarayana golla

we can create object in 4 ways to create an object:

1.Using 'new' operator.

2.Using class.forName( classname ).newInastance();

3.Using clone();

4.Using getInstance();

can anybody explain me what is the difference between those
above 4 things??

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Define an assembly in .net?

951


Do extension methods have to be static?

1021


What are the advantages of generics in c#?

902


What is the difference between namespace and class in c#?

940


What is difference between continue and break in c#?

958


Can arraylist hold primitive types?

1034


When should we use sealed class in c#?

893


What are virtual classes in c#?

951


Can you access a hidden base class method in the derived class?

913


Can main method be final?

900


If the original method is not static you can declare an override method to be static or not?

931


Are objects passed by reference in c#?

989


What is console based application?

952


Why do we need nullable types in c#?

1153


Give an example of removing an element from the queue?

931