Skip to main content

Hello World!

Tugas 1

Source Code


/**
 * Write a description of class Test here.
 * Program Data Diri
 * @author Satria Ade Veda Karuniawan
 * @version 0.1
 */
public class Test
{
    // instance variables - replace the example below with your own
 
      public Test()
      {
          String nama = "Satria Ade Veda Karuniawan";
          String kelas = "PBO A";
          String alamat = "Jl. Rajawali 4 no 2 Rewwin Sidoarjo";
          String email = "dnaspeedmania@gmail.com";
          String blog = "newsavk.blogspot.com";
          String nomor = "081615522636";
          String twitter = "@SatriaAdeVK2";
          System.out.println("Nama          : " + nama);
          System.out.println("Kelas         : " + kelas);
          System.out.println("Alamat Rumah  : " + alamat);
          System.out.println("Email         : " + email);
          System.out.println("Blog          : " + blog);
          System.out.println("No HP/ WA     : " + nomor);
          System.out.println("Twitter       : " + twitter);
      }

}


Screenshot Tampilan

Comments

Popular posts from this blog

Technical Support AI

Technical Support - Artificial Intelligence (*From now on, I'll try my best to explain about all of my Project using English) For this project, I made 3 classes to control the Bot Mechanism (Referencing to Objects-First-with-Java-A-Practical-Introduction-Using-BlueJ-David-J-Barnes pages 155) : InputReader Class (Used for detect or to take any user input) SupportSystem Class (As a main function connecting the user input and database) Responder Class (Handling AI-Output and Its role as 'mini' database) Current Version : 1.2 In the future, I'm expecting to have a bigger Responder's Database and would be separated from the Class itself, so it will be easier to make some modification inside the AI's Database and easier to manage. And then i'll try to improve the UX Design inside, so that the user can have a feeling about how 'Human' this AI. InputReader Class In this class, pretty much the same as how the name of the class is writt

Fox And Rabbit

Implementasi Fox and Rabbit berupa simulasi hubungan antara predator (dalam hal ini Fox) dan prey (dalam hal ini Rabbit), digunakan 9 class : Simulator (sebagai class utama yang digunakan untuk melakukan simulasi) SimulatorView (sebagai pengatur tampilan yang diimplementasikan pada class Simulator) Field (sebagai class yang mengatur dan memanipulasi bidang simulasi yang telah ditentukan) FieldStats (sebagai class berupa value holder yang menyimpan kondisi dari Field) Counter (sebagai class penghitung seperti increment dan reset value) Location (sebagai class yang memiliki informasi posisi pada Field) Randomizer (sebagai class yang mengatur nilai random) Fox (sebagai class simulator yang bertindak sebagai predator) Rabbit (sebagai class simulator yang bertindak sebagai prey) Source Code Simulator import java.util.Random; import java.util.List; import java.util.ArrayList; import java.util.Iterator; import java.awt.Color; import java.util.concurrent.TimeUnit; impo