
JAVA PEWARISAN
Quiz
•
Information Technology (IT)
•
12th Grade
•
Medium
Akun Classroom
Used 1+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
1. Apa fungsi dari kata kunci `extends` dalam Java?
Membuat method baru
Mengakses method secara publik
Membuat objek dari sebuah class
Menandakan bahwa sebuah class mewarisi class lain
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Class yang mewarisi sifat dari class lain disebut dengan istilah...
Parent class
Child class
Enkapsulasi
Konstruktor
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Berikut yang merupakan bentuk sintaks pewarisan yang benar adalah...
class Parent extends Child {}
class Anak extends Induk {}
class Kelas extends public {}
class Induk : Anak {}
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Dalam Java, subclass hanya boleh mewarisi dari satu superclass. Konsep ini dikenal dengan istilah...
Multiple Inheritance
Single Inheritance
Encapsulation
Polymorphism
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Modifikator akses `protected` memungkinkan akses ke variabel atau method oleh...
Kelas lain di luar paket
Kelas itu sendiri dan subclass-nya
Hanya oleh method private
Semua class di semua paket
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Kata kunci `this` digunakan untuk merujuk pada objek saat ini dalam sebuah class.
Benar
Salah
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
`super.info()` digunakan untuk mengakses method yang sudah di-*override* pada subclass.
Benar
Salah
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
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?
Similar Resources on Wayground
9 questions
IoT Quiz 1
Quiz
•
9th Grade - University
10 questions
Pemahaman Alamat IP
Quiz
•
12th Grade
6 questions
Copyright, Fair use & AI
Quiz
•
7th Grade - University
6 questions
Technology in Educational Assessments
Quiz
•
9th Grade - University
15 questions
Fundamentals of Cybersecurity
Quiz
•
12th Grade
10 questions
Основи на програмирането с C#
Quiz
•
12th Grade
10 questions
TẠO BIỂU MẪU TRONG HTML
Quiz
•
12th Grade
10 questions
Pengantar Pemrograman Web
Quiz
•
11th Grade - University
Popular Resources on Wayground
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
20 questions
ELA Advisory Review
Quiz
•
7th Grade
15 questions
Subtracting Integers
Quiz
•
7th Grade
22 questions
Adding Integers
Quiz
•
6th Grade
10 questions
Multiplication and Division Unknowns
Quiz
•
3rd Grade
10 questions
Exploring Digital Citizenship Essentials
Interactive video
•
6th - 10th Grade
Discover more resources for Information Technology (IT)
10 questions
Ice Breaker Trivia: Food from Around the World
Quiz
•
3rd - 12th Grade
20 questions
Brand Labels
Quiz
•
5th - 12th Grade
11 questions
NFL Football logos
Quiz
•
KG - Professional Dev...
28 questions
Ser vs estar
Quiz
•
9th - 12th Grade
29 questions
CCG 2.2.3 Area
Quiz
•
9th - 12th Grade
15 questions
PRESENTE CONTINUO
Quiz
•
9th - 12th Grade
13 questions
BizInnovator Startup - Experience and Overview
Quiz
•
9th - 12th Grade
16 questions
AP Biology: Unit 1 Review (CED)
Quiz
•
9th - 12th Grade