經安全檢測,此網站為安全網站,請放心前往原始網址!

How to create and initialize Anonymous array in Java Example

as you have noticed just like anonymous class, creation and initialization of anonymous array is done on same time. you initialize them in same line where you create using new(). as they don't have name there is no way you can initialize() them later.

javarevisited.blogspot.com

網址安全性掃描由 google 提供