Question: Here is the code for class Atrium class Atrium { private int windows; private String label; public Atrium(int windows, String label) { this.windows = windows;
Here is the code for class Atrium class Atrium { private int windows; private String label; public Atrium(int windows, String label) { this.windows = windows; this.label = label; } } Here is the code for class Lobby, but missing the body for the constructor. class Lobby extends Atrium { private int doors; /** Initialize the instance variables of this object to the given values. */ public Lobby(int windows, String label, int doors){ .... missing .... } } Write the code for the constructor.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
