Java OOP Quiz

Java OOP Quiz

15 Qs

quiz-placeholder

Similar activities

OBJECT ORIENTED PROGRAMMING WITH JAVA

OBJECT ORIENTED PROGRAMMING WITH JAVA

University

10 Qs

INTRODUCTION TO OOPS

INTRODUCTION TO OOPS

University

10 Qs

OOPS-1

OOPS-1

University

20 Qs

Java Object Creation and Classes

Java Object Creation and Classes

University

20 Qs

PreTraining4PillarsOOP

PreTraining4PillarsOOP

Professional Development

10 Qs

OOP

OOP

9th - 12th Grade

10 Qs

INTRODUCTION TO OOP TECHNIQUE

INTRODUCTION TO OOP TECHNIQUE

11th - 12th Grade

15 Qs

Introduction to Java

Introduction to Java

10th Grade

15 Qs

Java OOP Quiz

Java OOP Quiz

Assessment

Quiz

Computers, Other

Medium

Created by

Edwin Garcia

Used 54+ times

FREE Resource

15 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which of the following is not an OOP concepts in Java?

Encapsulation

Polymorphism

Subtraction

Inheritance

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Encapsulation is a process of wrapping of data and methods in a single unit called?

Variable

Functions

Class

Box

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which feature of OOPS derives the class from another class?

Inheritance

Data hiding

Encapsulation

Polymorphism

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many types of polymorphism in the C++ programming language?

Three types of polymorphism

Two types of polymorphism

Five types of polymorphism

Four types of polymorphism

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which of the following OOP concept binds the code and data together and keeps them secure from the outside world?

Polymorphism

Inheritance

Abstraction

Encapsulation

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

Which member of the superclass is never accessible to the subclass?

Public member

Protected member

Private member

All of the mentioned

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How can the concept of encapsulation be achieved in the program?

By using the Access specifiers

By using the concept of Abstraction

By using only private members

By using the concept of Inheritance

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?