Code example for PrintStream

Methods: printf

0
		return true; 
	} 
 
	@Override 
	public void printTUI() { 
		consoleUi.printf("%nCommand (h for help): ");
	} 
 
	@Override 
	public String getMenuEntry() {
		return "Person"; 
	} 
 
	@Override 
	public char getMenuKey() { 
		return 'p'; 
	} 
 
}