-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathCharacterClass
More file actions
45 lines (33 loc) · 734 Bytes
/
Copy pathCharacterClass
File metadata and controls
45 lines (33 loc) · 734 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
package BookApp.Book;
public class CharacterClass {
private String name;
private String gender;
private String description;
public CharacterClass(String name,String gender,String description) {
this.name = name;
this.gender = gender;
this.description = description;
}
/**
* getters and setters for the class variables
* @return
*/
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getGender() {
return gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
}