
Pemrograman Berorientasi Objek

Quiz
•
Other, Computers
•
1st - 5th Grade
•
Medium
Anisa Rahma
Used 106+ times
FREE Resource
20 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Berapa nilai yang terkandung pada variabel 'result'?
int x = 8, y = 5;
int result = x%y;
-3
5
13
3
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
isi kode yang kosong.
public class Person {_____ int age;
_____ void setAge (____ age)
(if (age>0) {this.age = age;
private,public,int
final,public,int
static,private,string
static,private,int
3.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Isi bagian kosong berikut.
______ Apples {public static void main
(String[] args{System.out.println("Hello World"); }}
public class
extends
privateclass
integer
4.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Pada setiap program java pasti ? ......
...semua variabel harus integer
...harus ada satu method 'main'
...harus ada dua variable yang dideklarasi
...harus memiliki class
5.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Komen single-line dibuat dengan cara ?
//characters dibelakang line
**characters didepan line
//characters didepan line
*/characters didepan line
6.
MULTIPLE CHOICE QUESTION
10 sec • 1 pt
Konstruktur harus memiliki nama yang sama dengan class.
false
true
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa output dari kode berikut :
int x = 15;
int y = 4;
int result = x / y;
System.out.println(result)
19
11
3
4
Create a free account and access millions of resources
Similar Resources on Wayground
23 questions
YEAR 4 EXAMS REVISION QUIZ

Quiz
•
4th Grade
20 questions
Informática Aplicada Vectores C++

Quiz
•
5th Grade
15 questions
APP Inventor nozioni base

Quiz
•
2nd - 4th Grade
20 questions
แบบทดสอบกลางภาคpythonครูสมชาย

Quiz
•
1st - 3rd Grade
20 questions
สอบปลายภาค Coding2 รหัสจำลอง

Quiz
•
3rd Grade
20 questions
Quiz PBO pra UAS

Quiz
•
1st Grade
20 questions
1-ข้อสอบการเขียนโปรแกรมเบื้องต้นด้วย Python

Quiz
•
5th Grade
16 questions
5. razred - Python

Quiz
•
5th Grade
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade