
UAS PBO (pemrograman berorientasi objek)

Quiz
•
Computers
•
1st - 5th Grade
•
Medium
Frahmi Any
Used 55+ times
FREE Resource
Student preview

25 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut adalah penamaan class pada java yang diperbolehkan, kecuali…
3_One
O_3ne
S13h
B3_Ta
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Keyword yang digunakan untuk membuat nilai tetap dan tidak dapat berubah adalah…
protected
private
public
final
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Pendefinisian kelas pada program dibawah terjadi pada baris ke …
public class Ceria {
public static void main(String args[ ]) {
int a = 9; int b = 4;
int c= a/b;
}
}
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Jika nilai / value variabel c ditampilkan ke layar akan menghasilkan nilai …
public class Ceria {
public static void main(String args[ ]) {
int a = 9; int b = 4;
int c= a/b;
}
}
2.25
2.3
2
2.5
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut adalah cara inisialisasi variabel bertipe class string, kecuali:
String me = new String(“Inisialisasi 1”);
String me
me = new String “inisialisasi 1” ;
String me;
me = new String(“inisialisasi 1”);
String me;
me = “inisialisasi 1”;
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Diantara perintah untuk mencetak berikut, yang benar adalah ………..
System.out.println(“Hello world”);
System.Out.println(“Hello world ”);
System.out.Println(“Hello world ”);
System.Out.Println(Hello world ”);
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
System yang berguna untuk mengirim keluaran ke layar adalah
System.out.
System.in.
System.err.
System.exit
Create a free account and access millions of resources
Popular Resources on Wayground
50 questions
Trivia 7/25

Quiz
•
12th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
11 questions
Negative Exponents

Quiz
•
7th - 8th Grade
12 questions
Exponent Expressions

Quiz
•
6th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
20 questions
One Step Equations All Operations

Quiz
•
6th - 7th Grade
18 questions
"A Quilt of a Country"

Quiz
•
9th Grade