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


Inner classes as name suggests, can be declared within a
class, as for that matter, with in a for statement too... or
with in a method of another class.

Anonymous classes are also inner classes but without a name,

The advantage being more abstraction of code, but more
confusing to beginners

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is array list in java?

1074


Explain java thread life cycle.

1030


Is array an object in java?

957


Why do we need singleton?

963


What is singleton class and how can we make a class singleton?

1100


Why do we use string?

1038


Does java have extension methods?

975


How do you start a thread?

1037


Why do we need hashmap in java?

1114


What is a numeric digit?

1082


What is the replace tool?

1163


What are kinds of processors?

992


What is final variable?

940


Does java map allow duplicates?

895


What is the different types of functions?

1057