Java OOPs Concepts

Java OOPs Concepts

12th Grade - University

10 Qs

quiz-placeholder

Similar activities

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

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

University

10 Qs

bootcamp

bootcamp

University

8 Qs

Day 4 Activity

Day 4 Activity

University

10 Qs

TỔNG QUAN VỀ HƯỚNG ĐỐI TƯỢNG

TỔNG QUAN VỀ HƯỚNG ĐỐI TƯỢNG

University

15 Qs

Quiz Pemrograman Berorientasi Obyek

Quiz Pemrograman Berorientasi Obyek

University

15 Qs

P1_APLab2Quiz_B3B4

P1_APLab2Quiz_B3B4

University

10 Qs

C++

C++

11th - 12th Grade

10 Qs

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

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

University

13 Qs

Java OOPs Concepts

Java OOPs Concepts

Assessment

Quiz

Computers

12th Grade - University

Medium

Created by

Jayapratha T

Used 237+ times

FREE Resource

10 questions

Show all answers

1.

MULTIPLE SELECT QUESTION

20 sec • 1 pt

Which of the following are the concepts of OOP?

Encapsulation

Polymorphism

Abstraction

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?