int x = 5;
System.out.println(x++);
System.out.println(x);
Apa yang akan menjadi output dari program berikut?

Quiz Java

Quiz
•
Computers
•
University
•
Medium
Aulia Ramadhita
Used 4+ times
FREE Resource
17 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 5 pts
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 {
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Post Test VSA Pemrograman Web - Day 04

Quiz
•
University
15 questions
Algoritma Pemrograman

Quiz
•
University
15 questions
Java Programming

Quiz
•
University
20 questions
Quiz 2 PBO

Quiz
•
University
20 questions
Quiz PBO SIA

Quiz
•
University
15 questions
Kelas XII Bab 2 : Sistem Komputer (Ardiuno)

Quiz
•
University
15 questions
ASK F2 -KOD ARAHAN (PYTHON)

Quiz
•
1st Grade - University
20 questions
Algoritma + Pascal

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade