Quiz Java

Quiz Java

University

17 Qs

quiz-placeholder

Similar activities

CPA MS-Office Hotkeys Quiz

CPA MS-Office Hotkeys Quiz

8th Grade - Professional Development

21 Qs

ASAS SAINS KOMPUTER : TINGKATAN 3

ASAS SAINS KOMPUTER : TINGKATAN 3

4th Grade - University

12 Qs

Algo Quiz

Algo Quiz

University

16 Qs

Informatika Kelas 5 Bab 2

Informatika Kelas 5 Bab 2

5th Grade - University

19 Qs

NACOS Kahoot Session II

NACOS Kahoot Session II

University

20 Qs

COA_QUIZ_UNIT I

COA_QUIZ_UNIT I

University

20 Qs

have fun with econometrics

have fun with econometrics

University

15 Qs

PSSI Chp 1 dan 2

PSSI Chp 1 dan 2

University

12 Qs

Quiz Java

Quiz Java

Assessment

Quiz

Computers

University

Practice Problem

Medium

Created by

Aulia Ramadhita

Used 4+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

17 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

int x = 5;
System.out.println(x++);
System.out.println(x);

Apa yang akan menjadi output dari program berikut?

5 dan 5

5 dan 6

6 dan 5

6 dan 6

2.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Bagaimana cara membuat sebuah variable dengan floating number 2.8?

float x = 2.8f;  

int x = 2.8f;

byte x = 2.8f

x = 2.8f;

3.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Method mana yang dapat digunakan untuk mencari panjang (length) dari sebuah string?

len()

getLength()

getSize()

length()  

4.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Operator yang digunakan untuk membandingkan 2 buah value?

<>

==  

><

/=

5.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Dalam pendeklarasian sebuah array di Java, simbol apa yang digunakan dalam penulisan variabelnya?

{ }

( )

[ ]

< >

6.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Bagaimana cara penulisan dalam membuat sebuah method di Java?

{methodName}

methodName()

methodName{}

methodName[]

7.

MULTIPLE CHOICE QUESTION

1 min • 5 pts

Bagaimana cara memulai penulisan while loop di Java?

while (x > y)  

while x > y:

x > y while {


while x > y {

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?

Discover more resources for Computers