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...
Type: Posts; User: copeg
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...
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...
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...