Search:

Type: Posts; User: helloworld922

Search: Search took 0.08 seconds.

  1. Replies
    20
    Views
    3,283

    Re: Create a polygone

    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,...
  2. Replies
    20
    Views
    3,283

    Re: Create a polygone

    [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...
Results 1 to 2 of 2