Advertisement
Guest User

Untitled

a guest
Jun 6th, 2016
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. package servlet1.webshop;
  2.  
  3. public class User {
  4.  
  5. String username;
  6. String password;
  7.  
  8. public User (){
  9.  
  10. }
  11.  
  12. public User(String username, String password) {
  13. this.username = username;
  14. this.password = password;
  15. }
  16.  
  17. public String getUsername() {
  18. return username;
  19. }
  20.  
  21. public void setUsername(String username) {
  22. this.username = username;
  23. }
  24.  
  25. public String getPassword() {
  26. return password;
  27. }
  28.  
  29. public void setPassword(String password) {
  30. this.password = password;
  31. }
  32.  
  33. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement