Advertisement
Guest User

Untitled

a guest
Nov 22nd, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. public class User {
  2.  
  3. protected String username = "phantomblade";
  4. protected String password = "shadows";
  5.  
  6.  
  7. protected User(String username, String password) {
  8. this.password = password;
  9. this.username = username;
  10. this.account = 1000;
  11. }
  12.  
  13. public User() {
  14.  
  15. }
  16.  
  17. protected String getPassword() {
  18. return password;
  19. }
  20.  
  21. protected String getUsername() {
  22. return username;
  23. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement