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

hi manjitt can any body explain me about this below program?
it is executing successfully without any errors.
can u explain me what is the concept hide in this program
please.....

abstract class aa {
public abstract void main(String[] args);


}

class aaa {
public static void main(String[] args)throws Exception{
Object x = Class.forName("aaa").newInstance();
System.out.println(x);
}
}

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is mvc firstordefault?

902


What is the use of console readkey in c#?

939


Can a struct inherit from another struct or class in c#?

918


What is window application in c#?

941


How do you prevent a class from being inherited in c#?

841


What is the difference between a method and a property?

1024


Explain the mechanism of VB.NET/C# achieve polymorphism?

992


What is difference between assembly and namespace?

920


Is versioning applicable to private assemblies?

982


How do I move from one form to another in c#?

880


What's new in c#?

895


What sort algorithm does c# use?

894


What is void method?

941


How Is The Dll Hell Problem Solved In .net?

1017


What is iqueryable in c#?

887