Synthetic Class in Java

后端 未结 13 1764
广开言路
广开言路 2020-11-29 17:15

What is a synthetic class in Java? Why should it be used? How can I use it?

13条回答
  •  旧时难觅i
    2020-11-29 17:26

    Well I found the answer to the first question on google:

    A class may be marked as synthetic if it is generated by the compiler, that is, it does not appear in the source code.

    This is just a basic definition but I found it in a forum thread and there was no explanation. Still looking for a better one...

提交回复
热议问题