daily pastebin goal
10%
SHARE
TWEET

Untitled

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