*****************************************************************************************************
package test;
import java.util.Scanner;
public class BankClient {
/**
*author: panguiming
*date:20100605
* 程序默认的信息是:money =1000.0 accountNum=123456 UserName=admin
*/
public static void main(String[] args){
boolean flag=true;
Account ac1=new Account();
ac1.setMoney(1000);
ac1.setAccountNum(123456);
ac1.setUserName("admin");
System.out.println();
System.out.print(" 输入您的账号:");
Scanner sc=new Scanner(System.in);
String j1=sc.nextLine();
System.out.println();
System.out.print("输入您的密码:");
String j2=sc.nextLine();
System.out.println();
System.out.println("系统正在核对您的账号和密码,请稍候……");
System.out.println();
System.out.println("----------------------------------");
System.out.println();
System.out.println();
System.out.println("amdin,您好,本次登陆成功!下面是您的个人信息,请查看:");
ac1.showInfo();
System.out.println();
System.out.print("请按“回车键(Enter)”确定进入银行交易系统! ");
String j3=sc.nextLine();
while(flag){
System.out.println();
System.out.println("***************欢迎使用银行交易系统*************");
System.ou