Search:

Type: Posts; User: KevinWorkman

Search: Search took 0.07 seconds.

  1. Re: Array Length: How to set an Array's lenght, before I know how long it needs to

    I'm giving you two separate suggestions. As helloworld mentioned, the API is there to be used, and a good programmer knows how to use it. If I were giving a job interview, I might ask how a person...
  2. Re: Array Length: How to set an Array's lenght, before I know how long it needs to

    Kenneth- Your solution is a bit of a hybrid between mine and helloworld's (better) suggestion. As it is, you're going to have a problem determining where the array indexes actually stop.

    Also,...
  3. Re: Array Length: How to set an Array's lenght, before I know how long it needs to

    The answer is to use an ArrayList.

    You could also create a method that takes an array of length N, and an element to be added to the array, and a method that returns a new array of length N+1 that...
Results 1 to 3 of 3