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 / bindhu

We can declare an inner class within the body of a method
without naming it. These classes are known as anonymous
inner classes
Very useful for controlled access to the innards
of another class. and useful when we need one instance of a
special class.

Is This Answer Correct ?    11 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why are the objects immutable in java?

936


What is a super method?

924


What is java oops?

995


Why do we need hashset in java?

988


What is fail fast in java?

1059


What is string intern in java?

976


Can we create an object of static class in java?

969


If we don’t want some of the fields not to serialize how to do that?

956


what is recursion in java

1077


How many types of methods are there?

972


Can we sort hashmap in java?

897


what is the use of bean managed and container managed with example?

1925


Write a program to reverse array in place?

1015


How do you sing an Applet ?

2420


Are variables stored in ram?

959