What does the name after the closing class bracket means?

后端 未结 4 1645
庸人自扰
庸人自扰 2021-02-08 14:45

I\'ve encountered this code example and I remembered I\'ve seen it before and I didn\'t know what it is for and what it does? I\'ve searched on the internet but without luck.

4条回答
  •  无人及你
    2021-02-08 15:49

    That's just a way of creating objects of that type of Class. Structs mostly use them to initialize new variables.

提交回复
热议问题