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 the 3rd streak fun fact from brainly
A train travels 100 miles per minute. One mile is about 1.61 kilometers and 1 hour is 60 minutes. Convert train's speed in kilometers per hour?
Solve 6x - 7y= 16 for y.
yo can someone help me out
I don’t understand please help me
PLEASE HELP "To youthful hearts that long for play Time is a laggard on the way." The previous statement is an example of a(n): A. metaphor B. simile C. pers
Help please! this is critical i need help so bad :( Which sequence of transformations creates a similar, but not congruent, triangle? a. Rotation and translatio
Maggie‘s brother is 11 years younger than four times her age. The sum of their ages is 54. How old is Maggie?
Read the excerpt from "Opening Ceremonies of the New York and Brooklyn Bridge" by Hon. Seth Low, Mayor of the City of Brooklyn. In the course of the constructio
One suprising fact of the animal kingdom is that only approximately 5% of animals are classified into which group