OBJECT ORIENTED PROGRAMMING WITH JAVA

OBJECT ORIENTED PROGRAMMING WITH JAVA

University

10 Qs

quiz-placeholder

Similar activities

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

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

University

13 Qs

keistimewaan OOP

keistimewaan OOP

University

15 Qs

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

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

University

10 Qs

Quiz Kelas Belajar Sistem Informasi - OOP

Quiz Kelas Belajar Sistem Informasi - OOP

University

10 Qs

OOP-1

OOP-1

University

10 Qs

DesignPatterns

DesignPatterns

University

9 Qs

AP CSA Inheritance Polymorphism

AP CSA Inheritance Polymorphism

University

10 Qs

OOC 4SEM

OOC 4SEM

University

15 Qs

OBJECT ORIENTED PROGRAMMING WITH JAVA

OBJECT ORIENTED PROGRAMMING WITH JAVA

Assessment

Quiz

Computers

University

Medium

Created by

'Aisyah Sa'dan

Used 30+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Composition uses the concept of ___________ relationship.

has-a

is-a

one-to-one

one-to-many

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Inheritance can use the concept of ___________ relationship.

has-a

is-a

one-to-one

one-to-many

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

An abstract method is a method ____________

with a return statement

which cannot be overridden

with a return statement and can be overridden

with no definition

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

In the JAVA programming language, the concept of keeping data private is known as __________.

polymorphism

information hiding

static binding

inheritance

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

A(n) ________________is a blueprint that defines the variables and the methods common to all objects of a certain kind.

Class

Abstraction

Encapsulation

Inheritance

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Composition is also known as

Modularity

Encapsulation

Aggregation

Instantiation

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Choose the FALSE statement about abstract class

It is a superclass with generic behaviour

Definition of abstract method is implemented in subclass

Subclasses must implement all the abstract methods in the superclass

Abstract class must have more than one abstract method

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?