Encapsulation - Part 2

Encapsulation - Part 2

Professional Development

29 Qs

quiz-placeholder

Similar activities

Coding & Language

Coding & Language

10th Grade - Professional Development

32 Qs

APCSP review

APCSP review

Professional Development

25 Qs

53.Code Block, Indentation and statements

53.Code Block, Indentation and statements

Professional Development

34 Qs

ข้อสอบวิชาวิทยาการคำนวณม.2เทอม1ปี68

ข้อสอบวิชาวิทยาการคำนวณม.2เทอม1ปี68

Professional Development

30 Qs

Kuis Pelatihan Video Dinas Perkebunan

Kuis Pelatihan Video Dinas Perkebunan

University - Professional Development

30 Qs

ULANGAN HARIAN KJD Semerter 19-20

ULANGAN HARIAN KJD Semerter 19-20

Professional Development

25 Qs

เขียนโปรแกรมเชิงวัตถุ

เขียนโปรแกรมเชิงวัตถุ

Professional Development

25 Qs

C++ OOPS TEST 01

C++ OOPS TEST 01

Professional Development

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