码迷,mamicode.com
首页 > 编程语言 > 详细

customer.java

时间:2014-08-06 21:50:22      阅读:274      评论:0      收藏:0      [点我收藏+]

标签:java   return   public   class   string   as   package   private   

package banking;

public class Customer {
private String firstName;
private String lastName;
private Account account;
public Customer(String f,String l){
this.firstName = f;
this.lastName = l;
}
public String getFirstName(){
return firstName;
}
public String getLastName(){
return lastName;
}
public Account getAccount(){
return account;
}
public void setAccount(Account acct){
account = acct;
}
}

customer.java,布布扣,bubuko.com

customer.java

标签:java   return   public   class   string   as   package   private   

原文地址:http://www.cnblogs.com/iloveyoucc/p/3895261.html

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