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 are parsers? Dom vs sax parser.

1105


How do generics work in java?

1100


How we can make copy of a java object?

1145


Can we use different return types for methods when overridden?

1063


Does printwriter create a file?

1012


How to implement an arraylist in java?

1251


Which method you will use to create a new file to store some log data. Each time a new log entry is necessary, write string to the file in java ?

1207


What is nextline method in java?

1091


What is purpose of keyword void?

1090


Describe the term diamond problem.

1087


What do you understand by private, protected and public?

1092


What are three ways in which a thread can enter the waiting state in java programming?

1216


What are green threads in java?

1052


What is the purpose of object oriented programming?

1033


Explain the pointers in Java?

1105