Arrays in Java are always fixed size. You can create a new array to replace the old one, but you must fix the size of the array.
Actually that notation of [][2] isn't correct Java syntax. Instead,...
Type: Posts; User: helloworld922
Arrays in Java are always fixed size. You can create a new array to replace the old one, but you must fix the size of the array.
Actually that notation of [][2] isn't correct Java syntax. Instead,...
[edit] oops, didn't read to the end :P
No, you can't do something like that. You could base type Point and Line and have ArrayList contain that base type.
// I didn't define the classes, but...