LILYTH824 LILYTH824
  • 20-12-2021
  • Computers and Technology
contestada

(true or false) A setter or getter method in object-oriented programming is an example of encapsulation.

Respuesta :

Аноним Аноним
  • 20-12-2021

Answer:

True.

Explanation:

Encapsulation wraps and bundle data under a single data(so external access to such variable outside of the class is restricted). Getter and Setters are functions that gets and sets a specific value within your object class. If you override the setter and getter function within the class(and not declare it in primary constructor), it allows to store and bind specific information about data inside the class.

Answer Link

Otras preguntas

what does 35% off and she bought 124.60 worth of items what would the final bill total be applying the discount of 35%
what is the simple subject of the following sentence during the night to the frightened child called for his mother and father
In November 1967, General Westmoreland told the American public that _____. the United States was making progress in Vietnam the Vietcong were winning the war
Which hominid, existing approximately 400,000-130,000 years ago, is known as "wise man" due to his increased brain size and ability to trap large prey?
What cellular process involves mitosis? A. Growth B. Movement C. Fertilization D. Specialization
The telegraph was invented by
If an exterior angle is obtuse, is one of its remote interior angles always, sometimes, or never obtuse?
what happens to water particles at boiling point
#13 please help . thanks _ lyssa
Is 1 3/5 + 2 4/5 equal?