Encapsulation - Part 2

Encapsulation - Part 2

Professional Development

29 Qs

quiz-placeholder

Similar activities

Final assessment

Final assessment

Professional Development

25 Qs

Knowledge Engineering Unit-3 Quiz

Knowledge Engineering Unit-3 Quiz

Professional Development

25 Qs

Computer Networks

Computer Networks

Professional Development

28 Qs

Computer Networks-Model Exam-II-PART-A

Computer Networks-Model Exam-II-PART-A

Professional Development

30 Qs

 Polymorphism - Part 1

Polymorphism - Part 1

Professional Development

26 Qs

Quiz 2.2

Quiz 2.2

Professional Development

26 Qs

CUP&A - Dev Day - Quiz

CUP&A - Dev Day - Quiz

Professional Development

30 Qs

COMPROG 3 - MAWD 201

COMPROG 3 - MAWD 201

Professional Development

30 Qs

 Encapsulation - Part 2

Encapsulation - Part 2

Assessment

Quiz

Computers

Professional Development

Hard

Created by

ANIL KUMAR

FREE Resource

29 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the 3 types of encapsulation in Java?
A. Member variable encapsulation, function encapsulation, and class encapsulation
B. School bag, email account, and car
C. Hiding the implementation details of an object from the user
D. There are no layers of encapsulation

2.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are 2 examples of encapsulation?
A. Member variable encapsulation, function encapsulation, and class encapsulation
B. School bag, email account, and car
C. Hiding the implementation details of an object from the user
D. There are no layers of encapsulation

3.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is encapsulation 2?
A. Member variable encapsulation, function encapsulation, and class encapsulation
B. School bag, email account, and car
C. Hiding the implementation details of an object from the user
D. There are no layers of encapsulation

4.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

How many encapsulation are there in Java?
A. 1
B. 2
C. 3
D. 4

5.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the 4 pillars of OOP encapsulation?
A. Member variable encapsulation, function encapsulation, class encapsulation, and package encapsulation
B. Inheritance, polymorphism, encapsulation, and abstraction
C. Physical layer, data link layer, network layer, transport layer, session layer, presentation layer, and application layer
D. Flexibility, maintainability, security, and simplicity

6.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What are the four types of encapsulation?
A. Member variable encapsulation, function encapsulation, class encapsulation, and package encapsulation
B. Inheritance, polymorphism, encapsulation, and abstraction
C. Physical layer, data link layer, network layer, transport layer, session layer, presentation layer, and application layer
D. Flexibility, maintainability, security, and simplicity

7.

MULTIPLE CHOICE QUESTION

20 sec • 1 pt

What is encapsulation in OOP in Java?
A. Member variable encapsulation, function encapsulation, class encapsulation, and package encapsulation
B. Inheritance, polymorphism, encapsulation, and abstraction
C. Physical layer, data link layer, network layer, transport layer, session layer, presentation layer, and application layer
D. Flexibility, maintainability, security, and simplicity

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?