![PBO Minggu 7 [IT-45-01]](https://cf.quizizz.com/img/wayground/activity/activity-square.jpg?w=200&h=200)
PBO Minggu 7 [IT-45-01]

Quiz
•
Other
•
University
•
Hard
Muhammad Johan Alibasa
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Manakah dari pilihan jawaban berikut ini yang BUKAN merupakan "widening casting"?
long x = 100;
double y = x;
float x = 100.0;
long y = x;
float x = 100.0;
double y = x;
int x = 100;
long y = x;
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Manakah dari pilihan jawaban berikut ini yang melakukan "narrowing casting" dengan BENAR?
int x = 100;
long y = (int) x;
int x = 100;
long y = x;
float x = 100.0;
long y = (long) x;
float x = 100.0;
long y = x;
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dari class diagram yang ada di slide sebelumnya atau di gambar samping ini, manakah output yang paling tepat untuk kode program di bawah ini?
Parent obj1 = new GrandChildA();
System.out.println( obj1.toString() );
this is class Parent
this is class Child A
this is class Child B
this is class Grand Child
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dari class diagram yang ada di slide sebelumnya atau di gambar samping ini, manakah output yang paling tepat untuk kode program di bawah ini?
ChildA obj1 = new ChildA();
GrandChildA obj2 = new GrandChildA();
obj1 = obj2;
System.out.println( obj1.toString() );
this is class Parent
this is class Child A
this is class Child B
this is class Grand Child
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dari class diagram yang ada di slide sebelumnya atau di gambar samping ini, manakah output yang paling tepat untuk kode program di bawah ini?
ChildA ob1 = new GrandChildA();
System.out.println( obj1.methodA() );
method child A
method Grand Child A
method Child B
Exception/Error
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dari class diagram yang ada di slide sebelumnya atau di gambar samping ini, manakah output yang paling tepat untuk kode program di bawah ini?
Parent obj1 = new GrandChildA();
System.out.println( obj1.number );
10
20
30
40
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dari class diagram yang ada di slide sebelumnya atau di gambar samping ini, manakah output yang paling tepat untuk kode program di bawah ini?
ChildA ob1 = new GrandChildA();
System.out.println( obj1.toString() );
Parent 10
Child A 20
Grand Child 40
Exception/Error
Create a free account and access millions of resources
Similar Resources on Wayground
10 questions
TRANSACTIONAL ANALYSIS

Quiz
•
University
12 questions
Piaget's Cognitive Development - Scenarios

Quiz
•
11th Grade - University
10 questions
MOVIE TRIVIA!

Quiz
•
9th Grade - University
15 questions
GAMES TOGA

Quiz
•
University
11 questions
Videojuegos retro CCAV

Quiz
•
3rd Grade - University
7 questions
Les adjectifs possessifs de la famille royale

Quiz
•
1st Grade - Professio...
10 questions
IDEA Disability Categories

Quiz
•
University
11 questions
Droit

Quiz
•
11th Grade - University
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
10 questions
UPDATED FOREST Kindness 9-22

Lesson
•
9th - 12th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
20 questions
US Constitution Quiz

Quiz
•
11th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade
Discover more resources for Other
10 questions
Would you rather...

Quiz
•
KG - University
20 questions
Definite and Indefinite Articles in Spanish (Avancemos)

Quiz
•
8th Grade - University
7 questions
Force and Motion

Interactive video
•
4th Grade - University
10 questions
The Constitution, the Articles, and Federalism Crash Course US History

Interactive video
•
11th Grade - University
7 questions
Figurative Language: Idioms, Similes, and Metaphors

Interactive video
•
4th Grade - University
20 questions
Levels of Measurements

Quiz
•
11th Grade - University
16 questions
Water Modeling Activity

Lesson
•
11th Grade - University
10 questions
ACT English prep

Quiz
•
9th Grade - University