Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Player {
- int charisma;
- int strength;
- public Player(String name, String class) {
- this.name= name;
- this.class = class;
- }
- public Player(String name, String class, int charisma) {
- this(name, class);
- this.charisma = charisma;
- }
- public Player(String name, String class, int charisma, int strength) {
- this(name, class, charisma);
- this.strength = strength;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement