Modelling object-oriented software – an introduction
Modelling object-oriented software – an introduction

Start this free course now. Just create an account and sign in. Enrol and complete the course for a free statement of participation or digital badge if available.

Free course

Modelling object-oriented software – an introduction

8.2.2 Class descriptions

Class A hospital ward
Attributes
The unique name of the ward
Whether the ward is for male or female (M or F) patients
The maximum number of patients that can be on the ward at any one time
/ The number of free beds on the ward
Class A patient in the hospital
Attributes
The name of the patient
/ The sex (M or F) of the patient
The date of birth of the patient
/ The age of the patient in years
Class A team of doctors
Attributes
The unique code of the team
ClassA doctor at the hospital
Abstract: generalises and
Attributes
The name of the doctor
Class A junior doctor at the hospital
Specialises
Attributes
The grade (1, 2 or 3) of the junior doctor
Class A consultant doctor at the hospital. Specialises
Attributes
None
M256_1

Take your learning further371

Making the decision to study can be a big step, which is why you'll want a trusted University. The Open University has 50 years’ experience delivering flexible learning and 170,000 students are studying with us right now. Take a look at all Open University courses372.

If you are new to university level study, we offer two introductory routes to our qualifications. Find out Where to take your learning next?373 You could either choose to start with an Access courses374or an open box module, which allows you to count your previous learning towards an Open University qualification.

Not ready for University study then browse over 1000 free courses on OpenLearn375 and sign up to our newsletter376 to hear about new free courses as they are released.

Every year, thousands of students decide to study with The Open University. With over 120 qualifications, we’ve got the right course for you.

Request an Open University prospectus371