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...

What is the use of anonymous inner classes ?

Answer Posted / jubin thomas, bhilai(mpccet)

Anonymous class is a class which has no methods defined in
it.
Eg.
class a
{
public void hello();
}
class b
{
a obj = new a();
public void hello()
{
System.out.println("Hello World");
}
}

Is This Answer Correct ?    2 Yes 64 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is static used?

1073


Where are local variables stored?

1019


Which language is java?

1026


What are 3 boolean operators?

1052


Why is the singleton pattern considered to be an anti pattern?

945


How do you add an element to an arraylist in java?

996


What is serialversionuid?

1157


What is the difference between applet and application?

1080


What is a void in java?

1265


What is a conditional statement explain with example?

1064


How can you add and remove nodes in jtree?

1105


What do you understand by soft reference?

1103


What is get () in java?

1110


What is intern method in java?

1124


Can we override the overloaded method?

1195