Untitled

mail@pastecode.io avatar
unknown
plain_text
2 years ago
641 B
1
Indexable
Never
package com.prama.collections.list;

public class Account {
	
	public int accNo;
	public String username;
	public String email;
	public double balance;
	public String bankName;
	
	public Account() {};
	
	public Account(int accNo,String username, String email, double balance,  String bankName) {
		this.accNo = accNo;
		this.username = username;
		this.email = email;
		this.balance = balance;
		this.bankName = bankName;
	}

	@Override
	public String toString() {
		return "Employee [accNo=" + accNo + ", username=" + username + ", email=" + email + ", balance=" + balance + ", , bankName=" + bankName + "]";
	}
	
}