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 is anonymous class?

Answer Posted / niranjanravi

An Anonymous class is a class which is defined at run time
without having any name and it is instantiated and declared
at the same place.
Syntax:
new class classname(){}
new interface interfacename(){}
Keyword extends and implements are usedin this class.
It is always implicitly final.
It is never static or final.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is thread? What are the high-level thread states? : Java thread

1272


Is oracle charging for java?

1025


Is 64bit faster than 32 bit?

1065


When do we need to use internal iteration? When do we need to use external iteration?

1118


How do you achieve singleton?

973


What is thread safe java?

914


What is difference between == and === in js?

1007


Does importing a package imports its sub-packages as well in java?

966


Why do we use variables?

982


Difference between method overloading and method overriding in java ?

1076


How are the elements of a gridbaglayout organized in java programming?

976


Does apple use java?

940


What restrictions are placed on method overloading?

1173


Explain about the select method with an example?

1173


Why can't we make a class private in java?

1028