Dibawah ini merupakan hasil Outputnya : Dibawah ini merupakan hasil tampilan dari bagian class : Dibawah ini merupakan Source Codenya : /** * Write a description of class Tugas1PBOB here. * * @author (M Thalut Nadhil Q) * @version (1/202020202020) */ public class Tugas1PBOB { // instance variables - replace the example below with your own private int x; /** * Constructor for objects of class Tugas1PBOB */ public Tugas1PBOB() { // initialise instance variables x = 0; System.out.print("Tugas #PBOB-Tugas1\n"); System.out.print("====================\n"); System.out.print("Nama \t\t: M Thalut Nadhil Q\n"); System.out.print("Kelas \t\t: PBO B\n"); System.out.print("Alamat Rumah \t: Jln. Panjang Cidodol, komplek lemigas Blok A nomor 5, Jakarta Selatan\n"); System.out.print("Email \t\t: thalut.nadhil@gmail.com\n...
Tugas Membuat Software Remote Tv 1. Foto Clas-classnya 2. Kodingan Mainnya /** * Membuat Software Remote Tv (Main) * * @author M Thalut Nadhil Q * @version 3 */ import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); int mainmenu; int nomor; int channel; int volume; int flag = 1; Remote remote = new Remote(); System.out.println("1. Nyalakan TV"); System.out.println("2. Ganti Channel"); System.out.println("3. Channel Sekarang"); System.out.println("4. Channel Selanjutnya"); System.out.println("5. Channel Sebelumnya"); System.out.println("6. Cek Volume"); System.out.println("7. Naikkan Volume"); System.out.println("8. Turunkan Volume"); System.out.println("9. Mute"); ...
Tugas Menggambar Pemandangan 1. Foto Classnya 2. Canvas import javax.swing.*; import java.awt.*; import java.util.List; import java.util.*; /** * Canvas is a class to allow for simple graphical drawing on a canvas. * This is a modification of the general purpose Canvas, specially made for * the BlueJ "shapes" example. * * @author: M Thalut Nadhil Q * * */ public class Canvas { // Note: The implementation of this class (specifically the handling of // shape identity and colors) is slightly more complex than necessary. This // is done on purpose to keep the interface and instance fields of the // shape objects in this project clean and simple for educational purposes. private static Canvas canvasSingleton; /** * Factory method to get the canvas singleton object. */ public static Canvas getCanvas() { if(canvasSingleton == null) { ...
Komentar
Posting Komentar