PBO B TUGAS 1
Hasil tugas PBO B minggu 1
Screenshot Hasil :
Source Code :
Hasil tugas PBO B minggu 1
Screenshot Hasil :
Source Code :
/**
* Write a description of class HelloWorld here.
*
* @author Vinsensius Yuda Pratama
* @version 03/09/2018
*/
public class HelloWorld
{
// instance variables - replace the example below with your own
private int x;
/**
* Constructor for objects of class HelloWorld
*/
public HelloWorld()
{
// initialise instance variables
x = 0;
System.out.print("Tugas #PBOB-Tugas1\n");
System.out.print("==================\n");
System.out.print("Nama : Vinsensius Yuda Pratama\n");
System.out.print("Kelas : PBO B\n");
System.out.print("Alamat Rumah : Juanda Harapan Permai Blok AE no. 15,SIDOARJO\n");
System.out.print("Email : pantkrauss@gmail.com\n");
System.out.print("Blog : https://vinsensiusyudap.blogspot.com/\n");
System.out.print("No HP/WA : 081330914709\n");
System.out.print("Twitter : @Vinsensiusyuda1\n");
}
/**
* 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;
}
}
Komentar
Posting Komentar