What is Double Brace initialization in Java?

前端 未结 13 2283
旧时难觅i
旧时难觅i 2020-11-21 07:22

What is Double Brace initialization syntax ({{ ... }}) in Java?

13条回答
  •  北恋
    北恋 (楼主)
    2020-11-21 08:07

    It's - among other uses - a shortcut for initializing collections. Learn more ...

提交回复
热议问题