⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 customer.java

📁 基于netbeans环境开发的银行帐户管理系统. 主要是用swing组件,不适合高手下载!!
💻 JAVA
字号:
/*
 * Customer.java
 *
 * Created on 2006年9月27日, 下午2:34
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package account2;

/**
 *
 * @author Administrator
 */
public class Customer {
    
    static Account a[] = new Account[100];
    private static int sum = 0;
    private static String cus_name;
    private static int account_id;
    /** Creates a new instance of Customer */
    public Customer() {
    }
    
    public void createAccount(String name,int num){
        for(int i =0 ;i<num;i++){
            a[sum] = new Account(name);
            sum = sum+1;
        }
        this.cus_name = name;
    }
    
    public int getSum(){
        return sum;
    }
    
    public void setCustomer_name(String name){
        this.cus_name = name;
    }
    public String getCustomer_name(){
        return cus_name;
    }
    
    public void setCustomer_id(int id){
        this.account_id = id;
    }
    public int getAccount_id(){
        return account_id;
    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -