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 are inner and anonymous class?

Answer Posted / janet

Inner Class: classes defined in other classes ,including
those defined in methods are called inner classes.
An inner class can have any accessiblity including private.

Anonumous class: Anonymous class is a class defined inside
a method without a name and is instantiated and declared in
the same place and cannot have explicit constructors.

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the access scope of a protected method?

959


What is native code?

1025


What is array length?

932


Difference between comparator and comparable in java?

1031


What is a singleton factory?

909


What are the different types of java?

991


Difference between method overloading and method overriding in java ?

1025


How do I stop concurrentmodificationexception?

971


Why is String immutable?

1017


What is thread safe java?

870


Why volatile is used in java?

991


What is connection class in java?

910


Can we nested try statements in java?

1045


What is the mapping mechanism used by java to identify IDL language?

959


What is a lambda expression ? What's its use ?

1048