Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Book extends Document{
- private String title = "Norwegian Wood";
- public Book(){
- }
- public String getTitle(){
- return title;
- }
- public void setTitle(String title){
- this.title = title;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement