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

explain Anonynous inner class?

Answer Posted / arjun

It is a class without any name. It is used when we want to
have an encapsulation(i.e. want to use an object of a class)
only once and never required again. we combine the object
creation and class code in a interesting way.

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are arrays dynamic in java?

978


What is a ternary operator in java?

940


Differentiate between class and structure.

1059


Write java program to reverse string without using api?

980


Why java does not support pointers?

977


Why java is made?

920


String and stringbuffer both represent string objects. Can we compare string and stringbuffer in java?

922


What is nested interface?

958


Can a static member function access member variable of an object?

956


What is unicode with example?

1096


How do you override a method?

957


Is a case study a method or methodology?

847


Why are the destructors for base class and derived class called in reverse order when the program exits

2126


Write a program to find the whether a number is an Armstrong number or not?

953


What is static data type in java?

974