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

Give the hierarchy of inputstream and outputstream classes.

1098


What is difference between final and immutable?

1142


Do we have pointers in java?

963


What is Recursion Function?

1195


What are the legal parameters?

1007


What is final modifier?

1047


List some important features of java 10 release?

1072


How is a structure different from array ?

1040


What is a protected void?

922


How are this() and super() used with constructors in java programming?

1061


How do you control extraneous variables?

914


how would you implement a thread pool? : Java thread

906


Describe different states of a thread.

997


Does java have extension methods?

975


Describe the various concepts related to object oriented programming (oop).

1028