TUGAS 1 PBO B : Membuat Biodata Menggunakan Bahasa Java dengan IDE BLUEJ
Pada Pertemuan pertama kuliah PBO Kelas B saya Belajar Membuat project sederhana mengenai biodata saya;
- Source Code
/**
* Write a description of class PBOTugas1 here.
*
* @author (Hendra Ramadani)
* @NRP (05111740000055)
* @version (0.1/20130903)
*/
public class PBOTugas1
{
// instance variables - replace the example below with your own
private int x;
/**
* Constructor for objects of class PBOTugas1
*/
public PBOTugas1()
{
System.out.println("Tugas #PBOB-Tugas1");
System.out.println("==================");
System.out.println("Nama : Hendra Ramadani");
System.out.println("Kelas : PBO B");
System.out.println("Alamat Rumah : Jl. Wilis 20, Kalangbret, Kauman, Tulungagung");
System.out.println("Email : hendraramadani14@gmail.com");
System.out.println("Blog : allimdev.blogspot.com");
System.out.println("NO HP/ WA : 085843919351");
System.out.println("Twitter : @hendraramadani98");
}
/**
* An example of a method - replace this comment with your own
*
* @param y a sample parameter for a method
* @return the sum of x and y
*/
public int sampleMethod(int y)
{
// put your code here
return x + y;
}
}
0 komentar:
Posting Komentar