I am taking a Class on Java, and sadly the professor is not all that good. But we have a project to do...
I have got to a point where I need to pull info out of an arraylist...
But it is an arraylist that is made up of arraylists.
playerinfo = [ [info #1], [info #2],[info #3] ]
The problem I am having is pulling the arraylists inside, out.
Here is the code...
playerinfo is the main arraylist as explained above.
ArrayList player1= new ArrayList(playerinfo.get(0));
However I am getting this error.
" cannot find symbol constructor ArrayList(java.lang.Object) "
Any help would be greatly appreciated.