First commit. structuresd
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
public class User {
|
||||
private String name;
|
||||
private int balance;
|
||||
|
||||
public User(String name, int balance) {
|
||||
this.name = name;
|
||||
this.balance = balance;
|
||||
}
|
||||
|
||||
public String getName() {
|
||||
return name;
|
||||
}
|
||||
|
||||
public int getBalance() {
|
||||
return balance;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user