Advertisement
tremaun22

Account

Aug 16th, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. [Serializable]
  2. public class Account
  3. {
  4. private String username;
  5. private String password;
  6.  
  7. public Account()
  8. {
  9.  
  10. }
  11. public Account(String UserName, String PassWord)
  12. {
  13. username = UserName;
  14. password = PassWord;
  15. }
  16.  
  17. public String getUserName()
  18. {
  19. return username;
  20. }
  21.  
  22. public override String ToString()
  23. {
  24. return username;
  25. }
  26.  
  27.  
  28. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement