Advertisement
Guest User

Untitled

a guest
Jul 24th, 2017
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. public class MyClass {
  2.  
  3. private Integer id;
  4. private String name;
  5.  
  6. public Integer getId() {
  7. return id;
  8. }
  9.  
  10. public void setId(Integer id) {
  11. this.id = id;
  12. }
  13.  
  14. public String getName() {
  15. return name;
  16. }
  17.  
  18. public void setName(String name) {
  19. this.name = name;
  20. }
  21.  
  22.  
  23. }
  24.  
  25. {
  26. public Integer getId() {
  27. return id;
  28. }
  29.  
  30.  
  31. public String getName() {
  32. return name;
  33. }
  34. }
  35.  
  36. public Integer getId() {
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement