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 / sam e

The use of an anonymous inner class is to create a
non-reusable implementation of an abstract class or
interface. For example, a UI button that is Runnable can
implement its run method at the same place in code that it
is created.

Is This Answer Correct ?    20 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is static variable with example?

1061


How do listeners work?

1105


Why we do exception handling in java and how many types of exceptions are there?

1181


Explain about core java?

1199


What do you mean by platform independence? What is an interface?

1075


What is final int?

1102


Why singleton pattern is better than creating singleton class with static instance?

1054


What is concurrent hashmap and its features?

1166


What is flag in python?

1081


Can we override constructors?

1052


Is a method a procedure?

1105


Which collection is thread safe in java?

1040


What is a two-pass assembler?

1101


In a container there are 5 components. I want to display all the component names, how will you do that?

2251


Explain the polymorphism principle?

1078