Extract Class

BeforeAfter
class Account
{
...
    private static int chooseAccount()
    {
	char ans;
	int selection = -1;
	boolean more = true;

	while (more == true) {
	    System.out.println();
	    System.out.println("Select Account:");
	    System.out.println("s == savings");
	    System.out.println("c == chequing");
	    System.out.println("v == visa");
	    System.out.println("1 == extra account 1");
	    System.out.println("2 == extra account 2");
	    System.out.println("q == return to main menu");
	    System.out.println();
	    System.out.print("Please choose an option: ");

	    ans = (char)Console.in.readChar();
	    Console.in.readLine();

	    switch (ans)
...
}
public class Display
{
...
    public int chooseAccount()
    {
	char ans;
	int selection = -1;
	boolean more = true;
	
	while (more == true) {
	    System.out.println();
	    System.out.println("Select Account:");
	    System.out.println("s == savings");
	    System.out.println("c == chequing");
	    System.out.println("v == visa");
	    System.out.println("1 == extra account 1");
	    System.out.println("2 == extra account 2");
	    System.out.println("q == return to main menu");
	    System.out.println();
	    System.out.print("Please choose an option: ");
	    
	    ans = (char)Console.in.readChar();
	    Console.in.readLine();
	    
	    switch (ans)
...
	return (selection);
    }
...
}