1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
aksik [14]
3 years ago
12

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

Computers and Technology
1 answer:
marusya05 [52]3 years ago
5 0

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.

You might be interested in
Give a name of the part responsible for memorising a cell phone number​
erik [133]

cerebrum

Explanation:

it controls all voluntary actions and also controls all the higher thought processes such as memory, judgement and reasoning

4 0
3 years ago
To construct a histogram using excel's chart tools, choose __________ as the chart type.
CaHeK987 [17]
Column is the correct answer. Hope this helps. :)
3 0
4 years ago
List 3 categories of computers,describe 2 aspects that differentiate these categories in terms of capability.
GrogVix [38]
Coding computers and gaming computers and just regular used computers
7 0
4 years ago
What is an abstract data type?
Aloiza [94]

Answer:

Abstract data type is a datatype which hides all the implementation details to the end user.

Explanation:

Class is an abstract data type in object oriented programming. Class abstracts both data members and member functions implementation. Here we can hide some confidential data from end user using access specifier "private". We can make end user access only the data which is marked as "public".

example:

public class Calculate

{

private int  salary;

public int workingHours;

public int reatePerHour;

public void Calcuate(){

int total=workingHours*reatePerHour;

cout<<total;

}

}

Here class calculates hides the implementation details of the method "Calculate" .We are abstracting implementation details to the end user using "Class" data type. So it is an AbstarctDataType

8 0
4 years ago
Drag each label to the correct location on the image
tamaranim1 [39]

Answer:

huhhhhhhhhhhhhhhhhhhhh

7 0
3 years ago
Read 2 more answers
Other questions:
  • Choose the type of critical thinking demonstrated in the example:
    8·2 answers
  • Jess and Ann have decided to exchange messages using the Caesar cipher. If the predetermined key is seven places to the left, th
    10·1 answer
  • How is DATA sent across a Network?
    7·1 answer
  • All of these (except the ______) go unnoticed by the computer
    7·1 answer
  • Win10如何删除自己添加的环境变量?...............
    8·1 answer
  • On a piano, a key has a frequency, say f0. Each higher key (black or white) has a frequency of f0 * rn, where n is the distance
    15·1 answer
  • Power Supply<br><br> Description :
    14·1 answer
  • What's the differences between jojoy and moddroid???
    10·1 answer
  • A citizen of any group has both _____ and _____.
    10·1 answer
  • In C++ please (read the image below for instructions)
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!