Which of the following does NOT achieve encapsulation?

Which of the following does NOT achieve encapsulation?

  1. a) Using private access specifier
  2. b) Using classes in object-oriented programming
  3. c) Using getter and setter methods
  4. d) Using global variables

From the BB Assistant Director (ICT) February 2025 – Written (DU) exam, question 10 of 55.

More from this paper