What is anonymous class ?

What is anonymous class ?

Anonymous classes make our code compact. They can be declare and instantiate a class at a time. They do not have a name. They are local class only .

This section covers the following topics:

By:Sumit Tripathi
Date:2021-05-15 00:00:00

Post Your Answers

User Email:

User Name:

Related Java Subjective Links

Java Subjective interview questions and answers for experienced and fresher