Why are anonymous classes called that when we provide a name?

时间:2018-02-26 18:01:07

标签: java

I am a little bit confused about the explanation of the anonymous classes in Java.

I understand the purpose of such classes, but why are they called classes without a name? Is it because the compiler do not include the name that we provide?

0 个答案:

没有答案