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
shutvik [7]
4 years ago
5

Programmers say the data items are ____ only within the module in which they are declared.

Computers and Technology
1 answer:
Oksanka [162]4 years ago
6 0
Data items are "local".

Consider the following example in C++.


class MyClass
{
public:
    void setX(int x)
    {
        this->x = x;
    }

private:
    int x;
};


We have an integer variable local to the scope of the class declaration, and we have another integer variable local to our setX() function, though we have no global functions, that's something you want to try to avoid as a general rule of thumb.
You might be interested in
In this exercise, first run the code as it is given to see the intended output. Then trace through each of the 3 variables to se
dlinn [17]

Answer:

The memory with variable names str1, str2, and str3 all have equal and the same value after the first if-statement.

Explanation:

The str1 was first assigned a null value while the str2 and str3 were assigned the string value "Karen" with the String class and directly respectively. On the first if-statement, the condition checks if the str1 is null and assigns the value of the variable str2 to str1, then the other conditional statement compares the values of all the string variables.

3 0
3 years ago
What does the action tool allow you to do in Microsoft power point?
pickupchik [31]
I believe the answer is A. Add animation to clip art and text 
6 0
3 years ago
Careers on the largest declining industries list will see an increase in the number of employees in their workforce.
IrinaK [193]

The answer is False.

The word "declining" means going down. So, in this case, the employees would go down or leave.

7 0
3 years ago
On Study Island, What do I do when the numbers don't show up?
mafiozo [28]
Try restarting your laptop
8 0
3 years ago
Read 2 more answers
Microsoft ________ is a cloud storage and file sharing service
kiruha [24]
<span>Microsoft Onedrive is a cloud storage and file sharing service.
</span>This hosting service operated by Microsoft enables backup, storage and sharing of photos, videos, documents, and more – anywhere, on any device. <span>Files can be synced to a PC and accessed from a web browser or a mobile device, as well as shared publicly or with specific people.</span>
4 0
3 years ago
Other questions:
  • What are vertical sets of cells called
    5·2 answers
  • Brainliest to whoever can guess what year this corvette logo is from. Make your guesses
    11·1 answer
  • There is no reason to study the works of famous photographers because they will make you less creative.
    5·2 answers
  • Write a program which will use a template version of search function(4 points): Randomly generate a list of 100 integers(1 point
    11·1 answer
  • A parameter is a numerical measure that describes a characteristic of a sample. Choose One • 4 points True False
    6·1 answer
  • Can someone help me out with this question?​
    9·1 answer
  • Your textbook discussed a record store example where one user could perform a query to determine which recordings had a track le
    14·1 answer
  • How do hand tools,Farm implements and farm equipment differ from one another
    6·1 answer
  • How do i get around a school related block
    13·2 answers
  • Which ipconfig command switch would a technician use to display detailed information (such as dns servers and mac addresses)?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!