
OOP Review
Quiz
•
Information Technology (IT)
•
University
•
Practice Problem
•
Hard
Alvin Tjondrowiguno
Used 2+ times
FREE Resource
Enhance your content in a minute
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
3 mins • 10 pts
Dari beberapa pilihan di bawah ini, mana saja yang bisa dibuat menjadi instance / object?
Class biasa dan Anonymous class
Abstract class dan Interface
Abstract class dan Class biasa
Interface dan Anonymous class
2.
MULTIPLE CHOICE QUESTION
3 mins • 10 pts
Perhatikan code berikut ini. Pilihlah implementasi fungsi main() yang menghasilkan output "Print B" ketika dijalankan!
3.
MULTIPLE CHOICE QUESTION
3 mins • 10 pts
Mana relasi antar class yang tidak bisa dibuat?
Interface extends Interface
AbstractClass extends AbstractClass
AbstractClass implements Interface
Interface extends AbstractClass
4.
MULTIPLE CHOICE QUESTION
3 mins • 10 pts
Untuk membuat Class Point sebagai Composition dari Class Circle seperti tampak di Class Diagram dibawah, maka Constructor variabel center harus berisi ...
Point(x, y)
new Point(x, y)
new Circle(x, y)
Point(center)
5.
MULTIPLE CHOICE QUESTION
3 mins • 10 pts
Yang akan menghasilkan error jika ditambahkan dalam program dibawah ini adalah ...
public double Produksi(double x, double y, String z) { ..... }
public int Produksi(int x, int y, int z) { ..... }
public double Produksi(double x, double y) { ..... }
public String Produksi(double x, double y, double z) { ..... }
6.
MULTIPLE CHOICE QUESTION
3 mins • 10 pts
Perhatikan coding dibawah ini. Ada 2 Class: Class Page dan Class Book. Relasi mana yang paling cocok menggambarkan hubungan ke dua kelas diatas?
Page IS-A Book
Page HAS-A Book
Book HAS-A Page
Book IS-A Page
7.
MULTIPLE CHOICE QUESTION
3 mins • 10 pts
Agar variabel dalam sebuah Class dapat diakses hanya oleh class tersebut dan semua class lain dalam package yang sama, maka pada deklarasi variabel kita tambahkan modifier:
Private
Public
Protected
Tanpa modifier
Create a free account and access millions of resources
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
Типы данных. Переменные. Операции в Java
Quiz
•
University
10 questions
Цикл for
Quiz
•
University
15 questions
INFORMATIKA KELAS 7A DAN TB
Quiz
•
7th Grade - University
15 questions
İstifadəçi interfeysi
Quiz
•
University
10 questions
Understanding User Interfaces and Programming
Quiz
•
9th Grade - University
10 questions
Percabangan
Quiz
•
University
11 questions
UXRD - Persona
Quiz
•
University
15 questions
Adding Interactive Elements in HTML
Quiz
•
12th Grade - University
Popular Resources on Wayground
10 questions
Forest Self-Management
Lesson
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
30 questions
Thanksgiving Trivia
Quiz
•
9th - 12th Grade
30 questions
Thanksgiving Trivia
Quiz
•
6th Grade
11 questions
Would You Rather - Thanksgiving
Lesson
•
KG - 12th Grade
48 questions
The Eagle Way
Quiz
•
6th Grade
10 questions
Identifying equations
Quiz
•
KG - University
10 questions
Thanksgiving
Lesson
•
5th - 7th Grade
Discover more resources for Information Technology (IT)
10 questions
Identifying equations
Quiz
•
KG - University
7 questions
Different Types of Energy
Interactive video
•
4th Grade - University
20 questions
HS2C2 AB QUIZIZZ
Quiz
•
1st Grade - Professio...
14 questions
Homonyms Quiz
Quiz
•
KG - University
16 questions
Parts of a Parabola
Quiz
•
8th Grade - University
10 questions
A Brief History of Geologic Time
Interactive video
•
11th Grade - University
15 questions
Black Friday/Cyber Monday
Quiz
•
9th Grade - University
7 questions
Biomolecules (Updated)
Interactive video
•
11th Grade - University
