daily pastebin goal
68%
SHARE
TWEET

User.java

a guest Jun 18th, 2016 57 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public class User {
  2.     private int id;
  3.     private String name, url;
  4.  
  5.     public User(String name, String email) {
  6.         this.name = name;
  7.         this.url = email;
  8.     }
  9.  
  10.     public int getId() {
  11.         return id;
  12.     }
  13.  
  14.     public void setId(int id) {
  15.         this.id = id;
  16.     }
  17.  
  18.     public String getName() {
  19.         return name;
  20.     }
  21.  
  22.     public void setName(String name) {
  23.         this.name = name;
  24.     }
  25.  
  26.     public String getEmail() {
  27.         return url;
  28.     }
  29.  
  30.     public void setEmail(String email) {
  31.         this.url = email;
  32.     }
  33. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top