Search Header Logo

FSW - CH04 - OOP

Authored by Facilitator Quality

Computers

University - Professional Development

Used 4+ times

FSW - CH04 - OOP
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

5 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Untuk mendeklarasikan sebuah kelas, manakah code yang tepat dibawah ini?

class Human {}

klass Human {}

class Human = {}

klass Human = {}

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Untuk membuat object dari sebuah kelas, syntax manakah yang tepat dibawah ini?

Human.new()

new Human()

Human.create()

create Human()

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Untuk mewarisi atribut dan behaviour dari sebuah kelas bernama kelas A, pada kelas B, manakah syntax yang tepat?

class A extends B {}

class B extends class A {}

class B extends A {}

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Menyembunyikan sebuah atribut atau method di dalam sebuah kelas, dinama tidak diperbolehkan ada direct access terhadap atribut/method tersebut merupakan implementasi dari konsep ...

Encapsulation

Abstraction

Polymorphism

Inheritance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

Output yang keluar di terminal adalah?

Joko via constuctor

Joko via new

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?

Discover more resources for Computers