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
prohojiy [21]
4 years ago
10

JAVA QUESTION::

Computers and Technology
1 answer:
allochka39001 [22]4 years ago
8 0

Answer:

3) 44 10 44

Explanation:

Given data

int [] val = { 3, 10, 44 };

The total number of parameters of given array are 3, so total length of array is also 3.

The indexing of array starts with '0', Therefore the <u>indexes</u> of array with length zero are: {0,1,2}

The value of array at index 0 is = 3

similarly

value at index 1 = 10

value at index 2 = 44

Any value of index 'i' of an array is selected using array[i].

Therefore,

val[0] is selecting the value of array located at index '0'.

val[0] = 3

val[2] is selecting the value of array located at index '2'.

val[2] = 44

Finally,

val[0] = val[2]; is copying the value placed at index 2 (44) to value placed at index 0 (3). Hence, the output would be { 44 10 44}. So 3rd option is correct.

 

You might be interested in
Which property of a text element controls how the browser handles text that does not fit within the element box?
BaLLatris [955]
Margin because it is always on the end of document
6 0
4 years ago
THis took FOREVER! please go check it out, if you have seen my demo to this game, you will like the full version! https://scratc
skad [1K]

Answer:

Sure! I'll comment in the comments of this answer on how it was <3

5 0
3 years ago
Read 2 more answers
CP/IP over Ethernet supports basic frames with a total size of up to 1518 bytes (including both the message payload and headers)
Ne4ueva [31]

Answer:

I think you just add all the Bytes together

6 0
3 years ago
Suppose your name was George Gershwin. Write a complete program that would print your last name, followed by a comma, followed b
NNADVOKAT [17]

Answer:

I will write the code in C++ and JAVA      

Explanation:

<h2>JAVA CODE</h2>

public class Main

{ public static void main(String[] args) {

       // displays Gershwin,George

     System.out.println("Gershwin,George"); }  }

<h2>C++ Code:</h2>

#include <iostream>

using namespace std;  

int main()

{  cout<<"Gershwin,George"; }    

// displays last name Gershwin followed by , followed by first name George

//displays Gershwin,George as output.

6 0
4 years ago
Read 2 more answers
If you can't brake to avoid a hazard, you should _____. A. engage your antilock braking system B. accelerate immediately instead
zzz [600]

Answer :  A. Engage your anti lock braking system

Explanation:

If you encounter a situation where you are not able to avoid the hazard then you should engage your anti-lock braking system because anti-lock braking system helps you steer safely by restoring traction to your tires. It helps prevent wheels locking up allowing driver to steer safely.

If you accelerate immediately or set the wheel to cruise control then probability of accident increases. In an attempt to steer around, chances of accident are also more.

8 0
3 years ago
Read 2 more answers
Other questions:
  • A formula =A1+B2 is in cell D8. If you copy that formula to cell D9, what is the new formula in cell D9? A. '=A1+B2 B. '=A2+B3 C
    8·2 answers
  • How do i end my current plan that i never signed up for, the basic one it charged me $24
    11·2 answers
  • If a driver who is under the age of 21 is stopped by a law enforcement officer and shown to have a BAL of .02 or greater, he or
    10·1 answer
  • A process is: An activity of a function that is performed for some specific business reason A single piece of data within a syst
    14·1 answer
  • Why hasn’t the World Health Organization declared a global health emergency?
    5·1 answer
  • Difference between switch case and if else statement.​
    11·1 answer
  • A network technician is designing a network for a small company. The network technician needs to implement an email server and w
    12·1 answer
  • For this assignment you must do the following tasks in order: (1) START EARLY. (2) READ THE ASSIGNMENT MULTIPLE TIMES to underst
    13·1 answer
  • What is a smaller loop statement that can appear on the same line of code?
    10·2 answers
  • A gui allows you to interact with objects on the screen such as icons and buttons true or false
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!