We have been given a task to do the following:-
Write a class LectureTheatre that has the following attributes (properties):
lectureTheatreName / maxOccupancy / layoutStyle (the lecture theatre may be either flat or tiered)
For example:-
lectureTheatreName : Frankland LT ... or ... Fylde LT2 ... or ... George Fox LT1
maxOccupancy : 145 ... 45 ... 350
layoutStyle : tiered ... flat ... tiered
- Attributes should be considered to be Strings or integers, as appropriate
- All attributes should be considered to be private to the class
- Include a javadoc comment for each attribute
This is the start of the class - is this going along the right lines? We do not know where to go from here. . .
class LectureTheatre {
public static void main(String[] arguments) {
private int maxOccupancy;
private int layoutStyle;
private String lectureTheatreName;
}
}
}