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 a percentage sign called?

1113


What is visibility mode?

957


What is the difference between the file and randomaccessfile classes?

1089


What are the limitations of procedural programming approach?

1043


What are the difference between composition and inheritance in java?

1020


Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?

980


Can we able to pass objects as an arguments in java?

1011


Is empty .java file name a valid source file name?

1117


What do you mean by Hash Map and Hash Table?

1080


What are the important methods of java exception class?

1101


What is http client in java?

1081


Can a method be overloaded based on different return type but same argument type?

953


What is locale?

1018


Explain access specifiers?

1173


How to sort an array in java without using sort method?

871