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
Aleksandr-060686 [28]
3 years ago
14

X=10 ;

Computers and Technology
1 answer:
NNADVOKAT [17]3 years ago
3 0

Answer:

The answer is x=10; y=15;

There is no change in the values of the variables x and y.

Explanation:

The integer variables x and y are initialized to 10 and 15 respectively as given.

x=10 ;

y=15 ;

The values of variables x and y are passed as parameters to another method, as shown.

mystery (x, y);

The mystery method given in the question is used to assign the same value to both the variables. The value of both the variables hold the value of x, i.e., both the variables hold the value of 10.

void Mystery ( int one , int two )  

{  

// temporary

int temp;  

// temp initialized to value of variable one which contains the value of variable x

// temp = x or temp = 10

temp = one;

// one is initialized to the value of itself or value of x

// one = x or one = 10

one = one ;

// temp is assigned value of variable x through variable one

// temp = 10

// y is also assigned value of temp variable

// y = 10

two = temp;  

}

As shown in the above steps, the mystery method is used to assign same values to variables one and two.

The values of original variables x and y are not affected since x and y are not utilized or called inside the mystery method.

This type of passing of parameters to a method can be described as passing a copy of the values of the parameters to the method.

Value of variable x is passed into variable one while value of variable y is passed into variable two.

Hence, values of variables one and two can be changed and modified without affecting the values of original variables x and y.

You might be interested in
The study of sound and sound wave is called​
pishuonlain [190]

Answer: Acoustics

Explanation:

Acoustics is simply refered to as a branch in physics that studies sound and its wave.

Acoustics studies mechanical waves in liquid, solid state or gaseous state. Topics such as infrasound, vibration and ultrasound are studied. Someone who works in the acoustics field is referred to as an acoustician.

7 0
3 years ago
Think about the ways new communication technologies can make certain tasks easier for
Andru [333]
Technology gives them the ability to do things that they normally couldn’t do. Like deaf people could get a cochlear implant to make them hear, people without a leg can get a prothetic leg to help them walk. Even something as simple of being colorblind, there are glasses to help them see color. It’s amazing.
3 0
3 years ago
When purchasing a security program, you must make sure that _____. Select 2 options.
olganol [36]

Answer:

it is complex

employees are not involved

4 0
3 years ago
You will hear a series of activities typical of Candela's life. After listening to and repeating each one, rewrite the entire se
Anon25 [30]

These are the complete sentences using the correct forms of the verbs conjugated in the simple present tense:

  1. Nosotros escribimos correos electrónicos desde diferentes partes del mundo.
  2. Tus padres deben tener mucho dinero.
  3. Sus amigas asisten al gimnasio todos los días.
  4. Tú no comprendes a las otras abuelitas.
  5. Yo también vivo la vida loca.
<h3 /><h3>What is the simple present tense?</h3>

The Spanish simple present tense (''presente del indicativo'' in Spanish) is used to talk about habitual situations, routines, universal truths and facts.

All the verbs in the exercise are conjugated using this tense.

I was able to find the complete instructions for the exercise online. Here are the sentences that had to be changed:

  1. Candela escribe correos electrónicos desde diferentes partes del mundo. (Nosotros)
  2. Candela debe tener mucho dinero. (Tus padres)
  3. Candela asiste al gimnasio todos los días. (Sus amigas)
  4. Candela no comprende a las otras abuelitas. (Tú)
  5. Candela vive la vida loca. (Yo también)

Check more information about the simple present tense here brainly.com/question/26436711

6 0
3 years ago
Which app is good to make me all in one programming game developers full stack programmer ​
Elis [28]

Answer:

Bachelor of Animation at SAE or Bachelor of game development.

Hope this helps you!

Explanation:

5 0
3 years ago
Other questions:
  • The method of transferring data one word at a time from the CPU to a device is called
    7·1 answer
  • Which relationship is possible when two tables share the same primary key?
    9·2 answers
  • Whatis meant by Translation Lookaside Buffer?
    5·1 answer
  • Key Categories: more libraries and thousands of functions
    7·1 answer
  • Three healthcare firms jointly own and share the same cloud resources to meet their computing needs. Which cloud model does this
    15·1 answer
  • What is the primary limitation of free versions of antivirus applications
    14·1 answer
  • Computer a has an overall cpi of 1.3 and can be run at a clock rate of 600mhz. computer b has a cpi of 2.5 and can be run at a c
    11·1 answer
  • Shape: element::paintbrush: ..............
    7·1 answer
  • Which you could use an Excel chart to present your data?
    15·1 answer
  • 1.
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!