Mana yang dapat memiliki konstruktor?

Interface dan Abstrack

Quiz
•
Computers
•
University
•
Medium
Indah Lahagu - XII MIPA 4
Used 1+ times
FREE Resource
15 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Abstract class
Interface
Keduanya
Tidak satupun
2.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa tujuan utama dari abstract class?
Memberikan implementasi lengkap.
Mendefinisikan kerangka dasar dengan implementasi opsional.
Menghindari pewarisan.
Menyediakan kontrak untuk class turunan.
3.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Mana yang benar tentang abstract class?
Dapat mengimplementasikan interface.
Tidak dapat memiliki variabel instans.
Hanya dapat memiliki metode abstract.
Tidak dapat diwariskan.
4.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Mana yang memungkinkan pewarisan ganda?
Abstract class
Interface
Keduanya
Tidak satupun
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa output dari kode berikut?
Drawing a circle
Error kompilasi
Tidak ada output
NullPointerException
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Apa keluaran dari kode berikut?
Error kompilasi
Car started
Vehicle stopped
Tidak ada output
Error saat runtime
7.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Berapa banyak interface yang dapat diimplementasikan oleh sebuah class?
Hanya satu
Tidak terbatas
Dua
Tergantung compiler
Create a free account and access millions of resources
Similar Resources on Quizizz
20 questions
Java, part I

Quiz
•
11th Grade - University
20 questions
OOP1

Quiz
•
University
10 questions
Quiz Kelas Belajar Sistem Informasi - OOP

Quiz
•
University
17 questions
Administrasi Sistem Jaringan

Quiz
•
University
20 questions
Cloud Computing Pra UAS

Quiz
•
University
15 questions
PBO Quiz

Quiz
•
University
10 questions
Quiz Sorting

Quiz
•
University
10 questions
Kuis Riset Operasi

Quiz
•
University
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade