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 default parameter in c#?

925


What are custom exceptions in C#?

983


How does split work in c#?

846


Does hashset allow duplicates c#?

926


What is difference between internal and protected internal in c#?

872


What is difference between web and window application?

807


When is a class declared as a class abstract?

940


How many types of polymorphism are there?

893


Why we use dll in c#?

919


Explain why do I get an error (cs1006) when trying to declare a method without specifying a return type?

783


Is string mutable in c#?

824


How do I type a whitespace character?

1010


How can you access a private method of a class?

949


What is generic types in c#?

885


What is uint16?

875