daily pastebin goal
55%
SHARE
TWEET

Untitled

ilminottaken Oct 12th, 2017 48 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /**
  2.  *
  3.  * @author Ilmi
  4.  * version 1.0.1
  5.  */
  6. public class Pegawai
  7. {
  8.     private String nip;
  9.     private String nama;
  10.     private String alamat;
  11.    
  12.     public Pegawai(){
  13.        
  14.     }
  15.    
  16.     public Pegawai(String nama,String nip, String alamat)
  17.     {
  18.         this.nama=nama;
  19.         this.nip=nip;
  20.         this.alamat=alamat;
  21.     }
  22.    
  23.     public void setNama(String nama){
  24.         this.nama=nama;
  25.     }
  26.    
  27.     public String getNama(){
  28.         return this.nama;
  29.     }
  30.    
  31.     public int getGaji(){
  32.         return 1500000;
  33.     }
  34.  
  35.     }
RAW Paste Data
Top