Search:

Type: Posts; User: copeg

Search: Search took 0.13 seconds.

  1. Replies
    5
    Views
    1,603

    Re: Beginner question on where to put an array

    Not necessarily an inner class by definition, and not necessarily public or static either (static means that if you make more hospitals, the patients will be shared - not what you want - and public...
  2. Replies
    5
    Views
    1,603

    Re: Beginner question on where to put an array

    Whatever information you wish. Java is object oriented, so create classes which make sense. For instance you wish to model a Hospital...so create a class Hospital. This class could contain a...
  3. Replies
    5
    Views
    1,603

    Re: Beginner question on where to put an array

    A typical design would be to create a new class that defines your data model - I would not extend the Arrays class (in fact, don't even see how this would be beneficial as all the Arrays class...
Results 1 to 3 of 3