Pre-test AKSI PBO

Pre-test AKSI PBO

University

10 Qs

quiz-placeholder

Similar activities

UML-2020-158225-Week8-Class and Method Design-NTY

UML-2020-158225-Week8-Class and Method Design-NTY

University

10 Qs

UAS - Teknik Pemrograman

UAS - Teknik Pemrograman

University

14 Qs

Quiz #2 (Refer to Javatpoint in answering these question)

Quiz #2 (Refer to Javatpoint in answering these question)

University

13 Qs

P1_APLab2Quiz_B3B4

P1_APLab2Quiz_B3B4

University

10 Qs

Understanding Object-Oriented Programming

Understanding Object-Oriented Programming

University

14 Qs

OOP java - Inheritance

OOP java - Inheritance

University

10 Qs

Quiz Pemrograman Berorientasi Obyek

Quiz Pemrograman Berorientasi Obyek

University

15 Qs

Java классы и объекты

Java классы и объекты

University

15 Qs

Pre-test AKSI PBO

Pre-test AKSI PBO

Assessment

Quiz

Computers, English

University

Hard

Created by

Pradita Effendi

Used 1+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

Variabel yang hanya dapat diakses oleh class itu sendiri…….

Public

Private

Static

Protected

2.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

Merupakan pewarisan atribut dan method pada sebuah class yang diperoleh dari class yang telah terdefinisi disebut.........

hirarchy class

polymorphism

encapsulation

Inheritance

3.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

Sebuah object adalah instanisasi/perwujudan dari....

atribut

methode

class

package

4.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

Keyword yang digunakan dalam konsep pewarisan adalah.....

overriding

overloading

extends

inheritence

5.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

Syntax di bawah ini adalah implementasi dari konsep.......


class Subclass-name extends Superclass-name

{

//methods and fields

}

Polymorphism

Encapsulation

Inheritance

None of the above

6.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

Sebuah class yang dapat mewarisi atribut dan method kepada kelas turunannya disebut ______ .

superclass

Subclass

subsetclass

Relativeclass

7.

MULTIPLE CHOICE QUESTION

10 sec • 10 pts

Manakah cara yang benar untuk melakukan pewarisan ke kelas B dari kelas A?

class B + class A {}

class B inherits class A {}

class B extends A {}

class B extends class A {}

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?