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
oksano4ka [1.4K]
4 years ago
13

Consider array items, which contains the values 0, 2, 4, 6 and 8. If method changeArray is called with the method call changeArr

ay(items, items[2]), what values are stored in items after the method has finished executing?
Computers and Technology
1 answer:
bagirrra123 [75]4 years ago
5 0

INCOMPLETE QUESTION

Consider array items, which contains the values 0, 2, 4, 6 and 8. If method changeArray is called with the method call changeArray(items, items[2]), what values are stored in items after the method has finished executing?

public static void changeArray(int[] passedArray, int value)

{

passedArray[value] = 12;

value = 5;

}

A. 0, 2, 5, 6, 12.

B. 0, 2, 12, 6, 8.

C. 0, 2, 4, 6, 5.

D. 0, 2, 4, 6, 12.

Answer:

D. 0, 2, 4, 6, 12

Explanation:

The initial values for the array was 0,2,4,6,8. The method changeArray ( ) when called changes the the the value of the element at the ith index position to 12. so the final elements in the array will be 0,2,4,6,12

You might be interested in
Choose the comparison operator that will create a true statement in Scratch
andrew11 [14]

Answer:

The second option

90 > 85

The statement above means 90 is more than 85 which is true.

7 0
2 years ago
Terrell is studying abroad in France for the semester. He would like to be able to use the French keyboard on his laptop and vie
Murrr4er [49]

Answer:

Terrell can change the keyboard layout by typing "keyboard options" in start menu search box of windows, then open the language option and choose the french layout or language. Terrell can change the Date and time or Region from control panel or by right click on the time in taskbar, then goto adjust date/time, there he will find options for "date and time" and "Region", which can be modified as per requirement.

6 0
4 years ago
Read 2 more answers
__________ are variables that store data for direct or indirect processing. A IPO DiagramsB Flow chartsC Data structuresD Progra
likoan [24]
C. Data structures






---------------------------------
7 0
3 years ago
In choosing an off-the-shelf software solution and the supported task is generic, which type of software package would you use
Margaret [11]

The software package that I would use is packaged software producer. They are defined as potential sources of application software.

<h3>Software</h3>

A software can be defined as a series of sequential instructions that indicate a computer what to do.

Packaged software producers are defined as potential sources of application software.

The industries develop these softwares to run them on different types of platforms.

Learn more about software here:

brainly.com/question/1022352

5 0
2 years ago
In case of an emergency, once you or someone already on the scene has contacted 9-1-1, the next thing to do is: A) Move them to
velikii [3]

if alone, you would give care first for which situation

4 0
4 years ago
Read 2 more answers
Other questions:
  • Typing a ____________ at the beginning of a word will exclude that word when doing a search.
    8·2 answers
  • Encryption is the process of:
    12·1 answer
  • You can tell when an image is selected, because its sizing handles will be visible. True or False
    15·2 answers
  • Which of the following best reflects why lighting systems are used when filming on location outdoors? (Select all that apply.)
    10·1 answer
  • Name three actions you can perform on an inserted image.
    7·2 answers
  • Cuando hablamos de entornos digitales de enseñanza aprendizaje a que nos estamos refiriendo
    10·1 answer
  • List the three control problems associated with competingprocesses and briefly define each.
    7·1 answer
  • What is intellectual property rights law ?​
    8·1 answer
  • What are the three general methods for delivering content from a server to a client across a network
    8·1 answer
  • Assignment 1:
    10·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!