Selamat datang.
/**
* Write a description of class helloword1 here.
*
* @author (Nadia Hasna L)
* @version (20180903)
*/
public class helloword1
{
// instance variables - replace the example below with your own
private int x;
/**
* Constructor for objects of class helloword1
*/
public helloword1()
{
// initialise instance variables
x = 0;
System.out.println("Nama : Nadia Hasna Luthfianita");
System.out.println("Kelas: PBO A");
System.out.println("Alamat: Perumdos Blok U");
System.out.println("Email : nadiahasna34@gmail.com");
System.out.println("Blog : Kumpulan Tugas Kuliah");
System.out.println("No HP/WA : 081136116131");
System.out.println("Twitter : @NadiaHasna15");
}
/**
* 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;
}
}
Terima kasih.
Tidak ada komentar:
Posting Komentar