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 the use of keywords in java?

935


What is OOP's Terms with explanation?

1122


What is main string [] args?

941


Explain the difference between comparator and comparable in java?

881


What is Session reduplication and how its done?

1982


What are the different types of constructor?

929


What a static class can contains?

1107


Why string objects are immutable in java?

994


What is the purpose of the return statement?

983


Can we call the run() method instead of start()?

984


Can a static method be final?

1005


What languages are pass by reference?

990


What if the main() method is declared as private? What happens when the static modifier is removed from the signature of the main() method?

1143


What is the difference between a factory and abstract factory pattern?

1083


What is object-oriented paradigm?

1007