Search Header Logo

Elementary Java 2

Authored by Dr. Rahadianti

Other

University

Elementary Java 2
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

6 questions

Show all answers

1.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Perhatikan dan lengkapi cuplikan bagian kosong nomor (1) pada code file "StatusUsia.java" berikut ini! (note- case sensitive, tanpa spasi)

2.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Perhatikan dan lengkapi cuplikan bagian kosong nomor (2) pada code file "StatusUsia.java" berikut ini! (note- case sensitive, tanpa spasi)

3.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Perhatikan dan lengkapi cuplikan bagian kosong nomor (3) pada code file "StatusUsia.java" berikut ini! (note- case sensitive, tanpa spasi)

4.

FILL IN THE BLANK QUESTION

1 min • 1 pt

Media Image

Perhatikan dan lengkapi cuplikan bagian kosong nomor (4) pada code file "StatusUsia.java" berikut ini! (note- case sensitive, tanpa spasi)

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Perhatikan potongan code berikut ini. Apa output program ini jika dipanggil dengan java FancyClass 3 4?

7

34

3+4

Syntax Error

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Jika sebuah array di-pass ke dalam method dan dimodifikasi, array pada main juga akan ikut berubah.

SALAH - karena java adalah pass by value

BENAR - karena yang dipass adalah reference walaupun java adalah pass by value

BENAR- karena java adalah pass by reference

SALAH - karena tidak ada return value

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?