SHARE
TWEET

Untitled

a guest Nov 23rd, 2015 5 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  * Created by kayro on 23/11/15.
  3.  */
  4.  
  5. public class User {
  6.  
  7.     private String name;
  8.     private String adress;
  9.  
  10.     public User(String name, String adress) {
  11.         this.name = name;
  12.         this.adress = adress;
  13.     }
  14.  
  15.     public String getName() {
  16.         return name;
  17.     }
  18.  
  19.     public void setName(String name) {
  20.         this.name = name;
  21.     }
  22.  
  23.     public String getAdress() {
  24.         return adress;
  25.     }
  26.  
  27.     public void setAdress(String adress) {
  28.         this.adress = adress;
  29.     }
  30. }
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
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top