package seedu.todo.ui.views;
import seedu.todo.ui.components.Component;

public abstract class View extends Component {
    
}

package seedu.todo.ui.views;
import seedu.todo.ui.components.Component;

public abstract class View extends Component {
    
    public String consoleMessage = "";
    
}

Add consoleMessage property in View abstract class