class RunningConsole extends Console{
  public RunningConsole(int val){
    this.myMaxSize = val;
  }

  public void display(String s){
    @pre{ true }
    String head = s.substring(0,getMaxSize()-1);
    super.display(head);
    System.out.println(" SCROLLING TEXT : "+ s.substring(getMaxSize()-1, s.length()));
  }
}