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 final access modifier in java?

1080


Can this keyword be used to refer static members?

1027


What is a method in programming?

1188


Can a top level class be private or protected?

1057


Name component subclasses that support painting in java programming?

1072


Why spring singleton is not thread safe?

999


What is the list interface in java programming?

1120


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

1108


Can we create object of inner class in java?

946


What is string builder in java?

1017


What are multiple inheritances? Is it supported by java?

952


What are keywords give examples?

1054


What modifiers are allowed for methods in an interface?

1164


Can we have more than one package statement in the source file?

1060


Explain about join() method?

972