Java OOP Quiz

Java OOP Quiz

15 Qs

quiz-placeholder

Similar activities

Javascript 2

Javascript 2

1st Grade

13 Qs

Class 1 L-  3 & 4.  CW Practice questions

Class 1 L- 3 & 4. CW Practice questions

1st Grade

20 Qs

DWDM-2

DWDM-2

University

20 Qs

Tree and Planar Graph

Tree and Planar Graph

University

10 Qs

PR2: RRL, Conceptual Framework and Methodology

PR2: RRL, Conceptual Framework and Methodology

12th Grade

15 Qs

QUIZ SECTION 1 DAY 5

QUIZ SECTION 1 DAY 5

7th Grade - University

20 Qs

Luyện tập tin học K5_buổi 3

Luyện tập tin học K5_buổi 3

5th Grade

16 Qs

MIDWIFERY AND OBSTETRICAL NURSING

MIDWIFERY AND OBSTETRICAL NURSING

University

20 Qs

Java OOP Quiz

Java OOP Quiz

Assessment

Quiz

Computers, Other

Practice Problem

Medium

Created by

Edwin Garcia

Used 57+ times

FREE Resource

AI

Enhance your content in a minute

Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...

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

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?