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

Name component subclasses that support painting in java programming?

1021


What is string [] java?

913


What is canonical name in java?

1062


What are predefined functions?

1072


Is hashset ordered java?

1041


How does multithreading take place on a computer with a single cpu?

958


How to do encapsulation in java?

1009


What is a byte array?

1055


What is the size of an array?

976


Is arraylist a class in java?

1002


What does a void function return?

963


What is string and example?

991


Why do we need singleton class?

937


Explain the difference between an object-oriented programming language and object-based programming language?

937


Give few difference between constructor and method?

922