码迷,mamicode.com
首页 > 其他好文 > 详细

ATM深化(2)

时间:2016-05-22 18:13:07      阅读:123      评论:0      收藏:0      [点我收藏+]

标签:

package com.lovo.bean;

import java.util.Scanner;

//用户信息
public class UserInfo {
//账号
private String username;
//密码
private String password;
//余额
private float account;

public UserInfo(){

}

public UserInfo(String username, String password, float account) {
this.username = username;
this.password = password;
this.account = account;
}

public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public float getAccount() {
return account;
}
public void setAccount(float account) {
this.account = account;
}
}

 

ATM深化(2)

标签:

原文地址:http://www.cnblogs.com/zzj951103/p/5517172.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!