Solved

In Order to Preserve Encapsulation of an Object, We Would

Question 8

Multiple Choice

In order to preserve encapsulation of an object, we would do all of the following except for which one?


A) make the instance data private
B) define the methods in the class to access and manipulate the instance data
C) make the methods of the class public
D) make the class final
E) all of these preserve encapsulation

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents