Search:

Type: Posts; User: Norm

Search: Search took 0.12 seconds.

  1. Replies
    16
    Views
    1,172

    Re: Help needed with array

    The while loop continues while the condition is true. Are you asking how to make that ugly, long condition false, so the loop will exit?

    The problem with using an OR operator to connect all the...
  2. Replies
    16
    Views
    1,172

    Re: Help needed with array

    What happens when the posted code is compiled?

    I'm done for tonight. Back tomorrow.
  3. Replies
    16
    Views
    1,172

    Re: Help needed with array

    What array is supposed to be accessed by what methods in what classes?

    What happens when the posted code is compiled?
  4. Replies
    16
    Views
    1,172

    Re: Help needed with array

    Defining Globals is not a recommended technique for OOP.

    A getter is a method that returns a value.

    When you define a class using a new statement, you can pass args to the constructor.
    = new...
  5. Replies
    16
    Views
    1,172

    Re: Help needed with array

    What do you mean by "global"? Do you mean a class member variable? Define/declare it outside of any method.

    For methods in other classes to access the array, there will need to be a way to pass...
Results 1 to 5 of 5