Class
- public class manusia
- public class siswa extends manusia
- public class pegawai extends manusia
- public class mainTestClass
- public class mainTestClass
Attribut
- private String nama;
- private int umur;
- private String jenisKelamin;
- private String nis;
- private String kelas;
- private String waliKelas;
- private String nim;
- private String jurusan;
- String nip;
- String bisangBagian;
- String gaji;
Method setter
- public manusia(String nama, int umur, String jk)
- public siswa(String nis, String kelas, String waliKelas)
- public mahasiswa (String nim, String jurusan)
- public pegawai (String nip, String bidangBagian )
Main method
- public static void main(String[] args)
Object
- siswa siswaNabil=new siswa();
- public class manusia
- public class siswa extends manusia
- public class pegawai extends manusia
- public class mainTestClass
- public class mainTestClass
Attribut
- private String nama;
- private int umur;
- private String jenisKelamin;
- private String nis;
- private String kelas;
- private String waliKelas;
- private String nim;
- private String jurusan;
- String nip;
- String bisangBagian;
- String gaji;
Method setter
- public manusia(String nama, int umur, String jk)
- public siswa(String nis, String kelas, String waliKelas)
- public mahasiswa (String nim, String jurusan)
- public pegawai (String nip, String bidangBagian )
Main method
- public static void main(String[] args)
Object
- siswa siswaNabil=new siswa();
0 comments:
Post a Comment