WHAT IS ANONYMOUS CLASS IN JAVA?

Amit Singh

Total Post:562

Points:2810
Posted by  Amit Singh
Java 
 1860  View(s)
Ratings:
Rate this:
  1. Amit Singh

    Post:562

    Points:2810
    What is Anonymous class in java?

    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.

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!