0

I have this line of code:

ArrayList<String>[] rows = new ArrayList[size];

IDE(Eclipse give me this warning:

Type safety: The expression of type ArrayList[] needs unchecked conversion to conform to ArrayList[]

What exactly should I do to fix this?

I need an fixed Array of unsized Lists.

KunLun
  • 2,813
  • 2
  • 14
  • 46

0 Answers0