Created
April 21, 2017 03:54
-
-
Save bangiqi/48ed73da5c66d911d12580a0164fc24d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package soalsalah.soal; | |
/** | |
* Created by ramdanix on 21/04/17. | |
*/ | |
public class KumpulkanPW { | |
public static void main(String[] args){ | |
LaporanPw laporanpw = new LaporanPw( | |
1311111, | |
"Aplikasi penjualan sepatu", | |
"VB.net", | |
"Rekayasa Perangkat Lunak", | |
2015, | |
"XI RPL 2" | |
); | |
System.out.println("=== LAPORAN PROJECT WORK ==="); | |
System.out.println("nis : "+laporanPw.getNis()); | |
System.out.println("judul : "+laporanPw.getJudulPw()); | |
System.out.println("kategori : "+laporanPw.getKategoriPw()); | |
System.out.println("jurusan : "+laporanPw.getJurusan()); | |
System.out.println("tahun : "+laporanPw.getTahunPw(); | |
System.out.println("kelas : "+laporanPw.getKelas()); | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package soalsalah.soal; | |
/** | |
* Created by ramdanix on 21/04/17. | |
*/ | |
public class LaporanPw { | |
String nis; | |
String judulPw; | |
String kategoriPw; | |
String jurusan; | |
int tahunPw; | |
String kelas; | |
public Laporanpw(String nis, String judulPw, String kategoriPw, int tahunPw, String kelas) { | |
this.nis = Nis; | |
this.judulPw = judulpw; | |
this,kategoriPw = kategoriPw; | |
jurusan = this.jurusan; | |
this.tahunPw = tahunPw; | |
} | |
public int getNis() { | |
return nis; | |
} | |
public String getKategoriPw() { | |
return kategoriPw; | |
} | |
public int getTahunPw() { | |
return tahunPw; | |
} | |
public String getKelas() { | |
return kelas; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment