博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
java程序源码
阅读量:5029 次
发布时间:2019-06-12

本文共 6114 字,大约阅读时间需要 20 分钟。

//Account.javapackage pers.liqin.accounlist;public class Account {	private String accountID;	private String accountname;  	private String operatedate;  	private int operatetype;  	private String accountpassword;  	private int accountbalance;  	private int amount;  	public Account()  	{  		super();  	}  	public String getaccountID()  	{  		return accountID;  	}  	public void setaccountID(String accountID)  	{  		this.accountID=accountID;  	}  	public String getaccountname()  	{  		return accountname;  	}  	public void setaccountname(String accountname)  	{  		this.accountname=accountname;  	}  	public String getoperatedate()  	{  		return operatedate;  	}  	public void setoperatedate(String operatedate)  	{  		this.operatedate=operatedate;  	}  	public int getoperatetype()  	{  		return operatetype;  	}  	public void setoperatetype(int operatetype)  	{  		this.operatetype=operatetype;  	}  	public String getaccountpassword()  	{  		return accountpassword;  	}  	public void setaccountpassword(String accountpassword)  	{  		this.accountpassword=accountpassword;  	}  	public int getaccountbalance()  	{  		return accountbalance;  	}  	public void setaccountbalance(int accountbalance)  	{  		this.accountbalance=accountbalance;  	}  	public int getamount()  	{  		return amount;  	}  	public void setamount(int amount)  	{  		this.amount=amount;  	}}//AccountManager.javapackage pers.liqin.accounlist;public class Account {	private String accountID;	private String accountname;  	private String operatedate;  	private int operatetype;  	private String accountpassword;  	private int accountbalance;  	private int amount;  	public Account()  	{  		super();  	}  	public String getaccountID()  	{  		return accountID;  	}  	public void setaccountID(String accountID)  	{  		this.accountID=accountID;  	}  	public String getaccountname()  	{  		return accountname;  	}  	public void setaccountname(String accountname)  	{  		this.accountname=accountname;  	}  	public String getoperatedate()  	{  		return operatedate;  	}  	public void setoperatedate(String operatedate)  	{  		this.operatedate=operatedate;  	}  	public int getoperatetype()  	{  		return operatetype;  	}  	public void setoperatetype(int operatetype)  	{  		this.operatetype=operatetype;  	}  	public String getaccountpassword()  	{  		return accountpassword;  	}  	public void setaccountpassword(String accountpassword)  	{  		this.accountpassword=accountpassword;  	}  	public int getaccountbalance()  	{  		return accountbalance;  	}  	public void setaccountbalance(int accountbalance)  	{  		this.accountbalance=accountbalance;  	}  	public int getamount()  	{  		return amount;  	}  	public void setamount(int amount)  	{  		this.amount=amount;  	}}//Exporttxt.javapackage pers.liqin.accounlist;import java.io.File;import java.util.Scanner;public class Exporttxt {   	  static Scanner scn= new Scanner(System.in);       File(String "c:\Users\Administrator\eclipse-workspace\accountlist",String "accountinformation.txt");             public void zhanghao()      {    	System.out.println("*****************************\n"                        +"     欢迎使用中国工商银行自助柜员系统                  \n"                        + "   请输入您的账号:");    	      }      public void mima()      {    	  System.out.println("*****************************\n"                  +"     欢迎使用中国工商银行自助柜员系统                  \n"                  + "   请输入您的密码:");        }      public void add()      {       System.out.println("*****************************\n"       		            + "    欢迎使用中国工商银行自助柜员系统                  \n ");       acc=new Account();             System.out.println("请输入存款金额:");       acc.setaccountbalance(scn.nextInt());      }      public void qukuan()      {    	  System.out.println("******************************\n"    	  		           + "   欢迎使用中国工商银行自助柜员系统                        \n");      }      public void zhuanzhang()      {    	while(true)    	{	      	 System.out.println("*******************************\n"    	 	 	          + "  欢迎使用中国工商银行自助柜员系统                           \n"    	 	 	          + "*******当前账户每日可以支取2万元\n"    	 	 	          + "1,100元                         \n"    	 	 	          + "2,500元                       \n"    	 	 	          + "3,1000元                  \n"    	 	 	          + "4,1500元                \n"    	 	 	          + "5,2000元               \n"    	 	 	          + "6,5000元             \n"    	 	 	          + "7,其他金额             \n"    	 	 	          + "8,退卡                     \n"    	 	 	          + "9,返回                   \n"    	 	 	          + "********************************\n");     	 System.out.println("请输入您的选择:");    	 int xuanze=scn.nextInt();    	 switch(xuanze)    	 {    	 case 1:    		     		 break;    	 case 2:    		     		 break;    	 case 3:    		     		 break;    	 case 4:    		     		 break;    	 case 5:    		     		 break;    	 case 6:    		     		 break;    	 case 7:    		 System.out.println("*********************\n"    		 		          + "欢迎使用中国工商银行自助柜台系统\n"    		 		          + "*********************\n"    		 		          + "          请输入取款金额:                     \n"    		 		          + "********************\n");    		     		 break;    	 case 8:    		     		 break;    	 case 9:    		 break;    	     	 }    	}	     	       }      public void xiugai()      {    	  System.out.println("*************************\n"    	  		           + " 欢迎使用中国工商银行自助柜台系统          \n"    	  		           + "*************************\n"    	  		           + "      请输入当前密码:                                     \n"    	  		           + "  请输入修改密码:                                       \n"    	  		           + "  请输入确定密码:                                    \n");    	        }      public void chaxun()      {    	  System.out.println("*************************\n" 		           + " 欢迎使用中国工商银行自助柜台系统          \n" 		           + "*************************\n" 		           + "   当前余额:                                                    \n" 		           + "    账户清单信息为:                                     \n");       }      	}

  

转载于:https://www.cnblogs.com/lq13035130506/p/9695892.html

你可能感兴趣的文章
CodeBlocks X64 SVN 编译版
查看>>
Excel催化剂开源第42波-与金融大数据TuShare对接实现零门槛零代码获取数据
查看>>
bug记录_signalr执行$.connnection.testhub结果为空
查看>>
【转】常用的latex宏包
查看>>
[TMS320C674x] 一、GPIO认识
查看>>
酷狗的皮肤文件存放在哪
查看>>
iOS RunLoop简介
查看>>
C++的引用
查看>>
T-SQL查询进阶--深入浅出视图
查看>>
MapKeyboard 键盘按键映射 机械革命S1 Pro-02
查看>>
Android读取url图片保存及文件读取
查看>>
完整ASP.Net Excel导入
查看>>
判断CPU大小端示例代码
查看>>
ARTS打卡第13周
查看>>
循环队列的运用---求K阶斐波那契序列
查看>>
pta 编程题14 Huffman Codes
查看>>
初始化bootstrap treeview树节点
查看>>
python selenium向<sapn>标签中写入内容
查看>>
JS常用坐标
查看>>
使用”结构化的思考方式“来编码和使用”流程化的思考方式“来编码,孰优孰劣?...
查看>>