
PBO Minggu 7 [IT-45-01]
Authored by Muhammad Johan Alibasa
Other
University
![PBO Minggu 7 [IT-45-01]](https://cf.quizizz.com/img/studentpreview.webp)
AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
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
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
10 questions
Ke-Al Azhar 8 an
Quiz
•
7th Grade - University
10 questions
Kuis Teori Pertumbuhan dan Pembangunan Ekonomi
Quiz
•
University
10 questions
ENGLISH PRETEST
Quiz
•
10th Grade - Professi...
10 questions
Mahir Jawi dan Rumi
Quiz
•
5th Grade - Professio...
10 questions
Wrap Up: Industri Pariwisata & Ekonomi Kreatif class UTS
Quiz
•
University
11 questions
OPERATIONS NOTH HSSE MONTHLY MEETING (JUNE 2024)
Quiz
•
University
10 questions
QUIZ KOMBEL KHD GEYER
Quiz
•
University
10 questions
ANIME!!
Quiz
•
5th Grade - Professio...
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
29 questions
Alg. 1 Section 5.1 Coordinate Plane
Quiz
•
9th Grade
22 questions
fractions
Quiz
•
3rd Grade
11 questions
FOREST Effective communication
Lesson
•
KG
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
Discover more resources for Other
12 questions
IREAD Week 4 - Review
Quiz
•
3rd Grade - University
7 questions
Fragments, Run-ons, and Complete Sentences
Interactive video
•
4th Grade - University
7 questions
Renewable and Nonrenewable Resources
Interactive video
•
4th Grade - University
10 questions
DNA Structure and Replication: Crash Course Biology
Interactive video
•
11th Grade - University
5 questions
Inherited and Acquired Traits of Animals
Interactive video
•
4th Grade - University
5 questions
Examining Theme
Interactive video
•
4th Grade - University
20 questions
Implicit vs. Explicit
Quiz
•
6th Grade - University
7 questions
Comparing Fractions
Interactive video
•
1st Grade - University