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

How does the speaker's father moving the mice to the edge of the field serve as a symbol in "My Father's Song" by Simon Ortiz? A)It represents the kindness and
S=3r^4t solve for t
Which of the following was not formed from a continental-continental collision? A. The Tetons B. The Appalachians C. The Alps D. The Himalayas
Choose the answer that best completes the sentence. Yo no __________ en el garaje. ( 2 points) Question 5 options: 1) estamos 2) estáis 3) estoy 4) está
so no solution or is it (1/3,2/3)
A sample is selected from a population with m = 50 and s = 12. if the sample mean of m = 56 produces a z-score of z = +1.00, then how many scores are in the sam
We write the bills that become laws
Give the number of significant figures in this number: 0.070
PLEASE HELP ASAP!!!!The following graph shows the relationship between predator and prey populations. If the time is measured in months, how long does the pred
A large bag of cashews weighs 81/3. lb . One serving is 1/3 pound. How many servings are in the bag?