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
IceJOKER [234]
3 years ago
7

Which is true regarding how methods work? Group of answer choices If a method returns a variable, the method stores the variable

's value until the method is called again A return address indicates the value returned by the method After a method returns, its local variables keep their values, which serve as their initial values the next time the method is called A method's local variables are discarded upon a method's return; each new call creates new local variables in memory
Computers and Technology
1 answer:
Mumz [18]3 years ago
6 0

Answer:

A method's local variables are discarded upon a method's return; each new call creates new local variables in memory.

Explanation:

A local variable can be defined as an argument passed to a function or a variable that is declared within a function and as such can only be used or accessed within the function.

This ultimately implies that, a local variable is effective whilst the function or block is being executed (active).

Basically, all local variables can only be a member of either the register storage, static or auto (dynamic) categories in computer programming.

The true statement regarding how methods work is that a method's local variables are discarded upon a method's return; each new call creates new local variables in memory. This is so because these local variables are only allocated a storage that is within the frame of the method which is being executed on the run-time stack and would be discarded upon a method's completion or return.

You might be interested in
Fast we need help What is binary code? Why do computers use binary code?
vfiekz [6]

Answer:

The digits: 0 and 1, are used by binary code to represent computer text or instructions and a bit string is assigned to each symbol or instruction. Computers use binary numbers because they have circuits that are either on or off, which gives them two states to work from to make calculations and run processes.

Hope this helped you!

Explanation:

3 0
3 years ago
Read 2 more answers
For a policy to become enforceable, it must meet five criteria, which are?
Karolina [17]

A policy must be distributed, evaluated, understood, consistent, and followed in order to be enforceable.

What is enforceable?

A legally enforceable right of set-off is one that is valid and recognized in all situations (ie enforceable both in the normal course of business and on the default, insolvency or bankruptcy of one of the counterparties).

Distribution denotes that the policy has been made accessible to all personnel for the evaluation process (through events or notification). The second condition defines the content's readability, taking into account the challenges faced by speakers of foreign languages and complex terms (using simple and precise wording to remove uncertainty).

Understanding the terms of the policy is tested through comprehension, and uniform application of the policy is assessed through consistency. Finally, compliance denotes agreement among all parties to abide by the rules.

Learn more about enforceable policy click here:

brainly.com/question/26984272

#SPJ1

8 0
2 years ago
Lập biêu đồ gantt chart
notka56 [123]

Answer:

Explanation:

yes

5 0
3 years ago
Suppose that you want to write a program that inputs customer data and displays a summary of the number of customers who owe mor
Allushta [10]

Answer:

The correct option is D = regionNumber

Explanation:

In this scenario we want to know customers who owe more than $1000 each, in each of 12 sales regions. And the customer data variables include name, zip-code, balanceDue and regionNumber; based on the customer data variables names and zip-code will not really affect our output. It is based on balanceDue that we increment the number of customer owing in a particular region (regionNumber).

Therefore, we would add 1 to an array element whose subscript would be represented by regionNumber since we are interested to know the number of customer owing in each of the 12 sales regions.

3 0
3 years ago
Why is it important to protect people's intellectual property online?
grigory [225]
I believe that the answer is D hope this helped
6 0
3 years ago
Other questions:
  • How do you change between worksheets inside an excel workbook?
    13·2 answers
  • A virus is a name given to a small text file that's placed on your computer by the designers of the website when you visit that
    6·1 answer
  • _____, which are generated by web server software, record a user's actions on a web site. viruses log files junk e-mails worms
    7·1 answer
  • Which type of spreadsheet cell represents the left hand sides (lhs) formulas in an optimization analysis?
    5·1 answer
  • When you see this traffic signal is turned on, you may _____________________.
    5·2 answers
  • How to find out what version of windows i have?
    13·1 answer
  • Write a program that lets the user play the game of Rock, Paper, Scissors against the computer. The program should work as follo
    15·1 answer
  • Which of the following is false? Group of answer choices A) A string may include letters, digits, and various special characters
    7·1 answer
  • What are the four steps of the research process?
    13·1 answer
  • What are three limitations of computer?​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!