Lapres prak12

of 13 /13
LAPORAN RESMI PRAKTIKUM 12 : OVERLOADING AND OVERRIDING A. TUJUAN PEMBELAJARAN 1. Memahami tentang overloading 2. Memahami tentang overriding 3. Memahami aturan tentang overridden B. LAPORAN RESMI 1. Source Code: Base.java Over.java Output: 1 SISKA AMELIA|1 D3 IT B|2103131034|PENS

Transcript of Lapres prak12

Page 1: Lapres prak12

LAPORAN RESMI

PRAKTIKUM 12 : OVERLOADING AND OVERRIDING

A. TUJUAN PEMBELAJARAN1. Memahami tentang overloading2. Memahami tentang overriding3. Memahami aturan tentang overridden

B. LAPORAN RESMI1.

Source Code:Base.java

Over.java

Output:

1SISKA AMELIA|1 D3 IT B|2103131034|PENS

Page 2: Lapres prak12

Analisa:............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

2.

2SISKA AMELIA|1 D3 IT B|2103131034|PENS

Page 3: Lapres prak12

Source Code:

Output:

Analisa:..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

3.

3SISKA AMELIA|1 D3 IT B|2103131034|PENS

Page 4: Lapres prak12

Source Code:

Output:

Analisa:..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

4.

4SISKA AMELIA|1 D3 IT B|2103131034|PENS

Page 5: Lapres prak12

Source Code:

Output:

5SISKA AMELIA|1 D3 IT B|2103131034|PENS

Page 6: Lapres prak12

Analisa:..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

5.

Source Code:

6SISKA AMELIA|1 D3 IT B|2103131034|PENS

Page 7: Lapres prak12

Output:

Analisa:..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

6.

7SISKA AMELIA|1 D3 IT B|2103131034|PENS

Page 8: Lapres prak12

Source Code:

Output:

8SISKA AMELIA|1 D3 IT B|2103131034|PENS

Page 9: Lapres prak12

Analisa:............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................

KESIMPULAN

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

..........................................................................................................................................

9SISKA AMELIA|1 D3 IT B|2103131034|PENS