Sunday, September 2, 2018

Tugas 1 PBO - Membuat Program Identitas Diri

9:00 PM Posted by Unknown No comments
Kuliah hari ini saya mempelajari bagaimana cara mengetik 10 jari dan membuat program untuk menampilkan identitas diri saya. Berikut hasilnya :
  /**   
  * Write a description of class helloworld here.   
  * Menampilkan Identitas Diri  
  * @author Bima Satria Ramadhan   
  * @version 1.0   
  */   
  public class HelloWorld   
  {   
   private int x;   
   /**   
   * Constructor for objects of class helloworld   
   */   
   public HelloWorld(){   
    // initialise instance variables   
    System.out.println("Tugas #PBOA-Tugas1");   
    System.out.println("==================");   
    System.out.println("Nama\t\t: Bima Satria Ramadhan");   
    System.out.println("Kelas\t\t: PBO A");   
    System.out.println("Alamat Rumah\t: Perum Barisan Indah S / 24");   
    System.out.println("Email\t\t: bimma.sr@gmail.com");   
    System.out.println("Blog\t\t: http://bimasatria0081.blogspot.com/");   
    System.out.println("No HP/ WA\t: 087849853232");   
    System.out.println("Twitter\t\t: @_bimasatria");   
   }   
  }   



Screenshot source code dan hasil

0 comments:

Post a Comment