Does a subclass constructor require all arguments of superclass constructor?
问题 I have two classes, Staff and AdvancedStaff , which extends the former. Staff has this constructor: public Staff (String number, String title, String name, String role, char level) { staffNumber = number; staffTitle = title; staffName = name; staffRole = role; payScaleLevel = level; } I'll note that all instance variables have been set to private. While, Advanced Staff has this constructor: public AdvancedStaff (String number, String title, String name) { super(number, title, name); role =