OBJECT ORIENTED PROGRAMMING WITH JAVA

OBJECT ORIENTED PROGRAMMING WITH JAVA

University

10 Qs

quiz-placeholder

Similar activities

Java OOPs Concepts

Java OOPs Concepts

12th Grade - University

10 Qs

CSC305: TOPIC 2

CSC305: TOPIC 2

University

15 Qs

FOP - CHAPTER 8

FOP - CHAPTER 8

University

10 Qs

ADPROG1

ADPROG1

University

10 Qs

Talent Next Java MCQ-1

Talent Next Java MCQ-1

University

10 Qs

Unit 2 Inheritance in Java

Unit 2 Inheritance in Java

12th Grade - University

15 Qs

COMPUTER PROGRAMMING 2- SEATWORK 2- INTRO TO OBJECT OOP

COMPUTER PROGRAMMING 2- SEATWORK 2- INTRO TO OBJECT OOP

University

10 Qs

AP CSA Unit 9 Inheritance - Polymorphism

AP CSA Unit 9 Inheritance - Polymorphism

University

10 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?