What is mean by anonymous class?

Anonymous classes enable you to make your code more concise . They enable you to declare and instantiate a class at the same time. They are like local classes except that they do not have a name. Use them if you need to use a local class only once.

Sizin İçin Seçtik  What is standard classes in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *