public class Runway { private int id; private int length; private boolean isEmpty; public Runway(int id, int length) { this.id = id; this.length = length; this.isEmpty = true; } public int getId() { return id; } public void traffic () { isEmpty = false; } public void freeToUse() { isEmpty = true; } public boolean isEmpty() { return isEmpty; } public void setEmpty(boolean empty) { isEmpty = empty; } public int getLength() { return length; } }