Home > DeveloperSection > Interviews > What is Anonymous class in java?

Posted on    August-12-2011 1:48 AM

 Java Java 
Ratings:
 1 Answer(s)
  1527  View(s)
Rate this:

Amit Singh

Total Post:565

Points:2825
Posted on    August-12-2011 12:00 AM

Anonymous class : Anonymous class is a class defined inside a method without a name and is instantiated and declared in the same place and cannot have explicit constructors.

Don't want to miss updates? Please click the below button!

Follow MindStick