-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathFavoriteBooks.java
More file actions
39 lines (34 loc) · 909 Bytes
/
Copy pathFavoriteBooks.java
File metadata and controls
39 lines (34 loc) · 909 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
/**
*
* @author chris
*/
class FavoriteBooks {
private String title;
private String author_last;
private String author_first;
private int copyright;
public void setTitle(String title){
this.title = title;
}
public String getTitle(){
return title;
}
public void setAuthor_Last(String author_last){
this.author_last = author_last;
}
public String getAuthor_Last(){
return author_last;
}
public void setAuthor_First(String author_first){
this.author_first = author_first;
}
public String getAuthor_First(){
return author_first;
}
public void setCopyright(int copyright){
this.copyright = copyright;
}
public int getCopyright(){
return copyright;
}
}