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 |