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
Brenda has created a Microsoft Excel spreadsheet which has 1000's of cells of data. She is looking for specific information in t
vichka [17]

Brenda should use the Ctr+F shortcut to quickly find a specific information in the spreadsheet file.

4 0
3 years ago
How to do a Spreadsheet ??
sveticcg [70]

Answer:

Open Microsoft spreadsheet then input the data to the computer

3 0
3 years ago
Steve adds a second 1-GB 240-pin DIMM to his PC, which should bring the total RAM in the system up to 2 GB. The PC has an Intel
egoroff_w [7]

Answer:

Option A is correct.

Explanation:

He attaches the second 1 Gigabyte 240 pins DIMM for his system the overall RAM will be up around 2 Gigabytes. System is fitted with Intel Core 2 Dual 3-GHz cpu as well as three 240 pins DIMM ports on the motherboard. Transforms on a system, just 1 Gigabytes of RAM is seen through that RAM count.

Thus, the following issue is much more probably to be the failure to correctly grab that RAM.

5 0
4 years ago
The first real computer was an abacus?
kotegsom [21]
True, false, false. Hope this helps:)
3 0
3 years ago
The CEO of your small company has asked you to connect his laptop computer to the small conference room LED TV. The CEO will be
baherus [9]

Answer:

HDMI

Explanation:

HDMI is high definition media interface.Its is a loss less media interface. It is used to transfer audio and video data at the same time with high bandwidth capacity.High bandwidth and speed ensures high quality audio and video transmission.It is able to carry 10 bit video signal to provide better video quality.It supports multiple audio and video format.

3 0
3 years ago
Other questions:
  • The BIOS feature that enables a hard drive to read or write several sectors at a time is called what?
    5·1 answer
  • Simpson is trying to solve an equation related to converting a decimal number to its hexadecimal form. He decides to utilize the
    6·1 answer
  • What is the program that searches through data bases?
    10·1 answer
  • A bank system mainframe is struck by a DDoS attack and goes offline. Customer’s cannot log on to their accounts. Which element o
    11·1 answer
  • Which element can be changed using the Print pane? Check all that apply.
    9·2 answers
  • In Linux, users are internally represented using a unique number called user ID or uid.
    9·1 answer
  • Answer to this problem
    11·1 answer
  • The Quick Access tool bar allows you to customize the actions or commands you frequently use.
    13·1 answer
  • PUBG mobile id and name plz
    12·1 answer
  • The CUBE extension enables you to get a subtotal for each column listed in the expression, in addition to a grand total for the
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!