Advertisement
Guest User

Untitled

a guest
Aug 17th, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  1. public class Item {
  2.  
  3. private String title;
  4. private String description;
  5.  
  6.  
  7. public Item(String title, String description) {
  8. super();
  9. this.title = title;
  10. this.description = description;
  11. }
  12. public String getTitle() {
  13. return title;
  14. }
  15. public void setTitle(String title) {
  16. this.title = title;
  17. }
  18. public String getDescription() {
  19. return description;
  20. }
  21. public void setDescription(String description) {
  22. this.description = description;
  23. }
  24.  
  25.  
  26.  
  27.  
  28.  
  29. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement