PBO-5-Interaksi Objek

Dalam membuat program perangkat lunak yang perlu dilakukan pertama kali adalah membuat abstraksi. Abstraksi dilakukan dengan membagi problem menjadi sub problem-sub problem dalam rangka membangun class-class yang digunakan untuk konstruksi program.

Untuk memahami interaksi antar objek kita akan membuat contoh program display jam. Jam terdiri dari display jam dan menit. Sebagai gambaran bisa dilihat pada gambar di bawah ini :


Sebuah jam digital terdiri dari jam dan menit. Pada gambar di atas dalam format jam nilai maksimal 23 dan nilai maksimal menit 59. Untuk membuat abstraksinya kita bisa membuat gambar seperti di bawah ini :


Jika jam menunjukkan pukul 11:03 maka yang terjadi dalam memori komputer adalah sbb :

Setelah membuat abstraksi selanjutnya mendekomposisi kelas dalam bentuk implementasi program.



Untuk lebih memahami pelajari buku Object First With Java  selanjutnya implementasikan ke dalam program Java menggunakan BlueJ. Jika sudah selesai dan berhasil dikompilasi buat dokumentasi di blog dan di link di comment blog ini.

Untuk mencoba hasilnya, terlebih dahulu buat Class TestClockDisplay. Isi dari TestClockDisplay bisa mengikuti video tutorial di bawah ini.



Materi Presentasi

Materi - 1

Obj 3 from Fajar Baskoro

Materi - 2


SourceCode

GUI Clock Display



Video Kuliah



Latihan

Buat Implementasi kodenya untuk studi kasus Clock Display


Pengumpulan Tugas


Referensi : Buku Object First Java

Absensi Kelas A




Absensi Kelas G



Share this

Related Posts

Previous
Next Post »

247 komentar

komentar «Oldest   ‹Older   201 – 247 of 247   Newer›   Newest»
October 19, 2020 at 8:27 PM delete

Nama: Rachmad Budi Santoso
NRP: 05111840000122
Kelas: PBO B
Tugas: Traffic Light Application with GUI

LINK: https://budindonesia45.blogspot.com/2020/10/graphical-unit-interface-traffic-light.html

Reply
avatar
October 19, 2020 at 9:03 PM delete This comment has been removed by the author.
avatar
October 19, 2020 at 9:05 PM delete

Nama : Muthia Qurrota Akyun
NRP : 05111940000019
Kelas : PBO B
Link : Tugas 2 Aplikasi Traffic Light

Reply
avatar
October 19, 2020 at 9:20 PM delete

Nama: Faisal Reza Maulana
NRP: 05111940000009
Kelas: PBO B
Tugas: Program Lampu Lalu Lintas

Reply
avatar
October 19, 2020 at 9:34 PM delete

Nama : Zahrotul Adillah
NRP : 05111940000139
Kelas : PBO-A
Tugas : Membuat abstraksi dan modularisasi dari SmartTV
Link : https://zahrotuladillah.blogspot.com/2020/10/s-ebelum-membuat-sebuah-software-kita.html

Reply
avatar
October 19, 2020 at 9:37 PM delete This comment has been removed by the author.
avatar
October 19, 2020 at 9:37 PM delete

Nama : M.Fajri Davyza Chaniago
NRP : 05111940000180
Kelas: PBO B
Tugas: traffic light menggunakan bluej java
link : https://mfajridc.blogspot.com/2020/10/tugas-2-pemograman-berbasis-objek-kelas.html#more

Reply
avatar
October 19, 2020 at 10:24 PM delete

Nama : Abdulatif Fajar Sidiq
NRP :05111840007002
Kelas : PBO B
tugas :Tugas 2 abdulatif

Reply
avatar
October 19, 2020 at 11:14 PM delete

Nama : Fiodhy Ardito Narawangsa
NRP : 05111940000218
Kelas : PBO B
Tugas : Tugas 2 Traffic Light Simulator

Reply
avatar
October 20, 2020 at 12:40 AM delete

Nama : Mohammad Tauchid
NRP : 05111940000136
Kelas : PBO B
Tugas : Tugas 2 Simple Traffic Light

Reply
avatar
October 20, 2020 at 12:44 AM delete

Nama : David Ralphwaldo Martuaraja
NRP : 05111940000190
Kelas : PBO B
Tugas : Tugas 2 Lampu Lalu Lintas

Reply
avatar
October 20, 2020 at 1:39 AM delete

Nama : M Ridho Daffa Ardista
NRP : 05111840000065
Kelas : PBO B
Link : Tugas 2

Reply
avatar
October 21, 2020 at 5:13 AM delete

Nama : Abdun Nafi'
NRP : 05111940000066
Kelas : PBO C
Tugas : Membuat Abstraksi dan Modularisasi dari Jam Digital Waktu Sholat
Link : Tugas PBO 3

Reply
avatar
October 21, 2020 at 9:11 AM delete

Nama : Aimar Wibowo
NRP : 05111940000034
Kelas : PBO C
Link Tugas : https://aimarwibowo46.blogspot.com/2020/10/tugas-3-membuat-program-jam-masjid.html

Reply
avatar
October 21, 2020 at 9:55 AM delete

Nama : Muhammad Bagus Istighfar
NRP : 05111940000049
Kelas : PBO C
Tugas : Membuat Abstraksi dan Modularisasi dari Jam Digital Waktu Sholat
Link :LINK DISINI

Reply
avatar
October 21, 2020 at 10:34 AM delete

Nama: Ahmad Lamaul Farid
NRP: 05111940000134
Kelas: PBO C
Tugas :Tugas PBO-C Pertemuan ke-3

Reply
avatar
October 21, 2020 at 10:35 AM delete

Nama : Gian Ega Wijaya
NRP : 05111940000214
Kelas : PBO C
Link Tugas : https://gianhuman.wordpress.com/2020/10/21/abstraksi-dan-modularisasi-serta-implementasi/

Reply
avatar
October 21, 2020 at 11:15 AM delete This comment has been removed by the author.
avatar
October 21, 2020 at 11:17 AM delete

Nama : Dewangga Dharmawan
NRP : 05111940000029
Kelas : PBO C
Tugas : Link Tugas

Reply
avatar
October 21, 2020 at 11:24 AM delete

Nama : Aflah Hilmy
NRP : 05111940000177
Kelas : PBO C
Link :
Link Tugas 3

Reply
avatar
October 21, 2020 at 11:35 AM delete

Nama : Aristya Vika Wijaya
NRP : 05111940000233
Kelas : PBO- C
Link :Link Tugas 3

Reply
avatar
October 21, 2020 at 12:30 PM delete

Nama : Andymas Narendra Bagaskara
NRP : 05111940000192
Kelas : PBO C
Tugas : https://tugaspborendra.blogspot.com/2020/10/tugas-ketiga-kelas-pbo-c.html

Reply
avatar
October 21, 2020 at 2:02 PM delete

Nama : Daffa Tristan Firdaus
NRP : 05111940000006
Kelas : PBO C
Tugas : Link Tugas 3

Reply
avatar
October 21, 2020 at 4:02 PM delete

Nama : Achmad Akbar Irwanda
NRP : 05111940000138
Kelas : PBO C
Link : Tugas PBO

Reply
avatar
Anonymous
October 21, 2020 at 4:59 PM delete

Nama : A. Zidan Abdillah Majid
NRP : 05111940000070
Kelas : PBO C
Tugas : Membuat jam digital waktu sholat
Link : https://azidantc19.blogspot.com/2020/10/tugas-3-jam-digital-waktu-sholat.html

Reply
avatar
October 21, 2020 at 6:30 PM delete

Nama : Avind Pramana Azhari
NRP : 05111940000226
Kelas : PBO C
Tugas : Tugas 3

Reply
avatar
Anonymous
October 21, 2020 at 6:52 PM delete

Nama : Fuad Elhasan Irfani
NRP : 05111940000095
Kelas : PBO C
Link : Tugas 3 - Jam Masjid

Reply
avatar
October 21, 2020 at 6:58 PM delete

Nama: Husnan
NRP: 05111940007002
Kelas: PBO C
Link: Tugas PBO C

Reply
avatar
October 21, 2020 at 7:21 PM delete

Nama : Fidhia Ainun Khofifah
NRP : 05111940000203
Kelas : PBO C
Link tugas : Tugas 3

Reply
avatar
October 21, 2020 at 7:43 PM delete This comment has been removed by the author.
avatar
October 21, 2020 at 7:47 PM delete This comment has been removed by the author.
avatar
October 21, 2020 at 7:50 PM delete

Nama :Fayha Syifa Qalbi
NRP :05111940000185
Kelas:PBO-C
Tugas-3
Link : https://syifaaqalbii.wordpress.com/2020/10/22/task-iii/

Reply
avatar
October 21, 2020 at 8:07 PM delete

Nama: Daffa Amanullah Setyawan
NRP: 05111940000071
Kelas: PBO BC
link : Tugas3 (Membuat Masjid Clock Display)

Reply
avatar
October 21, 2020 at 8:19 PM delete

Nama : Muhammad Farrel Abhinaya
NRP : 05111940000173
kelas : PBO-C
link : https://mfarrelabinaya.blogspot.com/2020/10/tugas-pbo-3-jam-dan-waktu-sholat.html

Reply
avatar
October 21, 2020 at 8:34 PM delete

Nama: Timotius Wirawan
NRP: 05111940000161
Kelas: PBO C
Link: https://timotiuswirawan.blogspot.com/2020/10/tugas-3-jam-adzan.html

Reply
avatar
October 21, 2020 at 10:18 PM delete

Nama: Ramadhan Arif Hardijansyah
NRP: 05111940000162
Kelas: PBO C
Tugas :
Java Sholat Time
Java Clock Display

Reply
avatar
October 21, 2020 at 10:46 PM delete

Nama : Albert Filip Silalahi
NRP : 05111940000116
Kelas: PBO C
Link : Tugas 3 : Jam Masjid

Reply
avatar
max
October 21, 2020 at 11:18 PM delete

Nama : Maximilian H M Lingga
NRP : 05111940000092
Kelas : PBO C
Tugas : membuat jam digital
link : https://maxlingga2001.blogspot.com/2020/10/membuat-jam-dengan-java.html

Reply
avatar
October 25, 2020 at 6:41 PM delete

Nama : Kevin Ashil
NRP : 05111740000178
Kelas : PBO B
Link : Tugas 2

Reply
avatar
October 26, 2020 at 9:55 AM delete This comment has been removed by the author.
avatar
October 29, 2020 at 8:16 AM delete

Tugas 2 Abstraksi dan Modularisasi App Smart TV
Nama : Ifanu Antoni
Nrp : 05111940000064
Kelas : PBO (A)
Link : https://rakyatterlantar.blogspot.com/2020/10/tugas-2-pemrograman-berorientasi-objek-a.html

Reply
avatar
November 26, 2020 at 2:38 AM delete

Nama: Bagaskoro Kuncoro Ardo
NRP: 05111940000048
Kelas: PBO C
Link: https://pbobagaska.blogspot.com/2020/10/tugas-pbo-c-minggu-ke-3.html

Reply
avatar
January 6, 2021 at 9:05 PM delete

Nama: Yusuf Anfasya
NRP: 05111940000077
Kelas: PBO C
Tugas : Tugas Jam Masjid

Reply
avatar
January 12, 2021 at 1:35 AM delete

Nama : Fajar Satria
NRP : 05111940000083
Kelas : PBO C
Link : Membuat jam digital

Reply
avatar
September 7, 2021 at 7:03 AM delete This comment has been removed by the author.
avatar
«Oldest   ‹Older   201 – 247 of 247   Newer›   Newest»