-
Tugas Array dan Inheritance Kelompok 11
SI-40-03 Kelompok 11: · Dickson Perdanakusuma (NIM 1202160303) · Fajar Sidiq Tazkiyyah (NIM 1202160196) · Hirzan Ghufran (NIM 1202164346) Soal No.13 Write a method beyondLastEntry(position) for the class OneWayNoRepeatsList, as given in Listing 7.9, that returns true when position is beyond the last entry on the list. · Penjelasan: Membuat method beyondLastEntry(position) untuk class OneWayNoRepeatsList…
-
Tugas Array dan Inheritance Kelompok 16
Kelompok 16 – SI-40-02 Anggota : Adityo Satrio Bagaskoro (1202160066) Alif Jafar Fatkhurrohman (1202164058) Akbar Anggit Pambudi (1202150026) Muhammad Fikri Makmur (1202164329) BAB 7 ARRAYS a. SOAL : Revise the class Timebook in Listing 7.14 to use an enumeration for the days of the week instead of named constants. b. PENJELASAN SOAL Merevisi class Timebook…
-
Tugas Array dan Inheritance Kelompok 16
Kelompok 16 – SI-40-02 Anggota : Adityo Satrio Bagaskoro (1202160066) Alif Jafar Fatkhurrohman (1202164058) Akbar Anggit Pambudi (1202150026) Muhammad Fikri Makmur (1202164329) BAB 8 a. SOAL : Create a base class called Vehicle that has the manufacturer’s name (type String), number of cylinders in the engine (type int), and owner (type Person given in Listing…
-
Tugas Array dan Inheritance Kelompok 16
KELOMPOK 16 – SI4003 · RETNA TAQIYYAH ADIBA(1202160253) · TRY ASPUTRI P (1202163163) · FADHILAH AMANI A. A.( 1202164172) BAB 8 Referensi buku “Java An Introduction to Problem Solving and Programming”. NO 6 (HAL 649) a. Soal Create a base class called Vehicle that has the manufacturer’s name (type String), number of cylinders in the…
-
Tugas Array dan Inheritance Kelompok 16
KELOMPOK 16 – SI4003 · RETNA TAQIYYAH ADIBA(1202160253) · TRY ASPUTRI P (1202163163) · FADHILAH AMANI A. A.( 1202164172) BAB 7 ARRAYS Referensi buku “Java An Introduction to Problem Solving and Programming”. a. Soal Revise the class Timebook in Listing 7.14 to use an enumeration for the days of the week instead of named constants.…
-
Tugas Array dan Inheritance Kelompok 06
Kelompok 6 – SI4002: · Anisa Agustina (1202162042) · Rahkmah Nabila (1202163018) · Atika Rahmawati (1202164244) Tugas Alpro Buka referensi buku “Java An Introduction to Problem Solving and Programming”. Bab 7 Array Halaman 557 bagian “Exercises” Nomor 8. Soal: Write a static method isStrictlyIncreasing (double[] in) that returns true if each value in given array…
-
Tugas Array dan Inheritance Kelompok 09
BAB 8 Inheritance and Polymorphism No 9 A. Soal Create an interface MessageDecoder that has a single abstract method decode(cipherText), where cipherText is the message to be decoded. The method will return the decoded message. Modify the classes SubstitutionCipher and ShuffleCipher, as described in Exercises 16 and 17, so that they implement MessageDecoder as well…
-
Tugas Array dan Inheritance Kelompok 09
BAB 7 Array No 11 A. Soal Suppose that we are selling boxes of candy for a fund-raiser. We have five kinds of candy to sell: Mints, Chocolates with nuts, Chewy Chocolates, Dark Chocolate Creams, and Sugar-free suckers. We will record a customer’s order as an array of five integers, representing the number of boxes…
-
Tugas Array dan Inheritance Kelompok 14
Kelas : SI-40-03 Nama Anggota 14 : Mohamad Azka Julda Suparman (1202164204) Fadlil Muhammad (1202160019) Briliant Marista Zakka Billy (1202160338) 4. Soal : Define a class named Doctor whose objects are records for a clinic doctors. Derive this class from the class from the class person given in listing 8.1 A Doctor record has the…
-
Tugas Array dan Inheritance Kelompok 14
Kelas : SI-40-03 Nama Anggota 14 : Mohamad Azka Julda Suparman (1202164204) Fadlil Muhammad (1202160019) Briliant Marista Zakka Billy (1202160338) 4. Soal : Define a class named Doctor whose objects are records for a clinic doctors. Derive this class from the class from the class person given in listing 8.1 A Doctor record has the…