Profile BlueJ

MEMBUAT PROFIL DIRI MENGGUNAKAN BLUEJ
TUGAS PBO A 
TAHUN AJARAN 2018/2019


1. Code

 /**  
  * Write a description of class Yuki here.  
  *  
  * @author (Yuki Yanuar Ratna)  
  * @version (3 September 2018)  
  */  
 public class Yuki  
 {  
   // instance variables - replace the example below with your own  
   private int x;  
   /**  
    * Constructor for objects of class Yuki  
    */  
   public Yuki()  
   {  
     // initialise instance variables  
     x = 0;  
     System.out.print ("Nama     : Yuki Yanuar Ratna\n");  
     System.out.print ("Kelas    : PBO A\n");  
     System.out.print ("Alamat Rumah : Ledok Kulon Bojonegoro\n");  
     System.out.print ("Email    : yukiyanuar11@gmail.com\n");  
     System.out.print ("Blog     : yukiyr.blogspot.com\n");  
     System.out.print ("No. HP/WA  : 0812 3120 7169\n");  
     System.out.print ("Twitter   : yukiyr1\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;  
   }  
 }  

2. Tampilan

Semoga bermanfaat.

Komentar

Postingan populer dari blog ini

Tugas Membuat Jam Digital

Codeigniter "Toko Buah"

Personal Web