OBJECT ORIENTED PROGRAMMING WITH JAVA

OBJECT ORIENTED PROGRAMMING WITH JAVA

University

10 Qs

quiz-placeholder

Similar activities

OOP Finals Quiz 1

OOP Finals Quiz 1

University

10 Qs

C and Java Programming Quiz

C and Java Programming Quiz

University

10 Qs

Review of OOPs Java Quiz1

Review of OOPs Java Quiz1

University

11 Qs

Java

Java

University

9 Qs

Object Oriented Programming(Chapter 1)

Object Oriented Programming(Chapter 1)

University

10 Qs

Quiz Kelas Belajar Sistem Informasi - OOP

Quiz Kelas Belajar Sistem Informasi - OOP

University

10 Qs

SAD Topic 7

SAD Topic 7

University

10 Qs

OOP in Python

OOP in Python

University

15 Qs

OBJECT ORIENTED PROGRAMMING WITH JAVA

OBJECT ORIENTED PROGRAMMING WITH JAVA

Assessment

Quiz

Computers

University

Medium

Created by

'Aisyah Sa'dan

Used 31+ 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?