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

What is 7/4 plus 2/2 plus 9/4 divided by 12
Lesson 19 page 112 whole page and Figure E last page 116 question 1-8 Thank You
From the later 17th century, the Native American population dropped drastically due to _______. A. manifest destiny. B. being an enemy of the French. C. Preside
The setting of Pygmalion is a chaotic scene in Covent Garden. True False
What is the result of wartime production?
making an each problem by Solve 30 liters of 1. Paul's bathtub is He has to empty a 5-liter by hand. has a r, a 4-liter, and bathtub carries two each trip, him
The Protestant Reformation started primarily because of the action of
Archaeological finds show that the first humans lived in which region of Africa?
How does ice float on water?
What's the ratio if you have 3.5 to 17