Pendahuluan PBO Deskripsi Pembelajaran PBO membahas tentang pemrograman
Pendahuluan PBO
Deskripsi Pembelajaran • PBO membahas tentang pemrograman dengan bahasa pemrograman Java. • Integrated Development Environment (IDE) yang dapat digunakan JBlue, Jeliot, Net. Beans, Eclipse, dll • Pada setiap topik, akan dimunculkan beberapa panduan penulisan program.
Ketentuan Pembelajaran Tool Pembelajaran – J 2 SE SDK Versi 6. 0 – IDE yang dapat berjalan pada J 2 SE JDK 6. 0 (Java. TM 2 JDK, Standard Edition) Terdiri dari Java Runtime Environment ditambah peralatan pengembang untuk » compiling » debugging » running aplikasi, yang ditulis menggunakan bahasa Java. TM
Garis Besar Pembelajaran • Pengenalan Java – Java Background – Java Feature – Tahap-tahap program Java
Garis Besar Pembelajaran Mengetahui programming environment – Program Java My First : “Hello World!” – Menulis program menggunakan sebuah text editor dan console – Mengatasi error – Menulis program menggunakan IDE
Garis Besar Pembelajaran • Dasar Pemrograman – Membahas Program Java my First – Comment, Statement, Identifier, Keyword dan Literal Java – Tipe data primitif – Variabel – Operator (arithmetic, relational, logical, conditional) – Operator Precedence • Memasukkan inputan dari keyboard – Menggunakan Buffered. Reader – Menggunakan JOption. Pane
Garis Besar Pembelajaran • Struktur Kontrol/Kendali – Struktur kontrol keputusan (if, else, switch) – Struktur kontrol pengulangan (while, dowhile, for) – Statement bercabang (break, continue, return) • Array Java – Mendeklarasikan array – Mengakses elemen array – Array multidimensi
Garis Besar Pembelajaran Bekerja dengan Java Class Library – Pengenalan Object-Oriented Programming (OOP) atau Pemrograman Berorientasi Objek – Class dan Object – Method – Casting, Converting dan Object Comparing
Garis Besar Pembelajaran Pemrograman Berorientasi Objek – Pendefinisian class – Mendeklarasikan attribute (instance variable, static variable) – Mendeklarasikan method – Reference “this” – Overloading method – Mendeklarasikan konstruktor – Pemanggilan konstruktor this() – Paket (Package) – Access modifier
Garis Besar Pembelajaran • Inheritance – Mendefinisikan superclass dan subclass – Keyword super – Method overriding – Method final dan class final • Polymorphism – Class abstrak – Interface • Dasar Exception Handling – try, catch, dan finally
- Slides: 10