Description: //登陆界面
class Login
{
//获取登录账户ID及密码
public void show()
{
System.out.println("请输入账户ID:"+" "+"[0退出]")
Scanner zhid =new Scanner(System.in)
String str1=zhid.nextLine()
if(str1.equals("0"))
{
System.out.println("****感谢您的使用,请收取您的磁卡****")
System.exit(0)
}
else
{
System.out.println("请输入账户密码:")
Scanner mm =new Scanner(System.in)
String str2=mm.nextLine()
Info info=new Info()
info.check(str1,str2)
}
}
}
To Search:
File list (Check if you may need any files):
ATM
...\ATM.class
...\ATM.java
...\Info.class
...\Login.class
...\PuTong.class
...\User.class
...\Vip.class
JAVA_atm.doc