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,420
  • 1
  • 10
  • 36

0 Answers0