kiaramarie894 kiaramarie894
  • 18-01-2024
  • Computers and Technology
contestada

What is the output of the following code fragment?

int i = 1;
int j = 1;
while (i < 5) {
i++;
j = j *2;
}
System.out.printin(j);

A) 64
B) 42
C) 16
D) 4
E) 8

Respuesta :

Otras preguntas

By passing the navigation actos in the 1600s and 1700s the British government intended to and why?
Zinc, copper, lead, and mercury ions are toxic to atlantic salmon at concentrations of 6. 42 × 10–2 mm, 7. 16 × 10–3 mm, 0. 965 mm, and 5. 00 × 10–2 mm, respect
Please find the value of each variable​
The midpoint M of FG has coordinates (8, 5). Point F has coordinates (6, 8). Find the coordinates of point G. Write the coordinates as decimals or integers.
Find the distance between the two points rounding to the nearest tenth (if necessary). (-1,4) and (8,2)
Draw the image of ABC under a dilation whose center is P and scale factor is 1/4
can someone help me with this?
Write a paragraph explaining how natural selection and selective breeding are related. Include a main idea, supporting details, and a concluding sentence.
Ms. Francis is planning a birthday party for her daughter. There will be 22 children at the party, and in order to seat them all she needs to rent square card t
What is 8y-2+6x Please tell me quick