StringBuilder str = new StringBuilder(); str.append(String.format("Employees working at Cafe %s:",this.name)); str.append(System.lineSeparator()); //adding line separator