Using setter and getter method is known as

Using setter and getter method is known as Correct Answer encapsulation

In computer science, a mutator method is a method used to control changes to a variable. They are also widely known as setter methods. Often a setter is accompanied by a getter (also known as accessor), which returns the value of private member variable.
Bissoy MCQ

Related Questions

What does Rhino do when the getter and setter methods exist?
Graphical method, simplex method, and transportation method are concerned with
Ponchon Savarit method is based on the use of enthalpy concentration diagram, which contains the bubble point curve (saturated liquid curve), dew point curve (saturated vapour curve) and equilibrium tie lines. As compared to McCabe-Thiele's method, this method
The mechanism method and the statical method give