Which of the following is not a reason to use encapsulation when designing a class? (Choose two.)
Question:
Which of the following is not a reason to use encapsulation when designing a class?
(Choose two.)
A. Improve security.
B. Increase concurrency and improve performance.
C. Maintain class data integrity of data elements.
D. Prevent users from modifying the internal attributes of a class.
E. Prevent variable state from changing.
F. Promote usability by other developers.
Fantastic news! We've Found the answer you've been seeking!
Step by Step Answer:
Related Book For
OCP Oracle Certified Professional Java SE 11 Developer Practice Tests Exam 1Z0 819 And Upgrade Exam 1Z0 817
ISBN: 9781119696131
1st Edition
Authors: Scott Selikoff, Jeanne Boyarsky
Question Posted: