WHAT IS ANONYMOUS CLASS IN JAVA?

Amit Singh

Total Post:565

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

    Post:565

    Points:2825
    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!