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

Bobby Seale and Huey Newton formed which of the following civil rights groups? SLCC NAACP Blank Panther Party SNCC
A child’s fear at the sight of a syringe is a(n): _________________ Group of answer choices CR CS UCS UCR
number 15 asap please
Which of the following is NOT an example of a convergent boundary? A. continental crust to continental crust collision B. mantle to core collision C. continenta
I need this done pls
Can someone help me?
MGSE7.G.6: A swimming pool is 8 meters long, 8 meters wide, and 8 meters deep. The water resistant paint needed for the pool costs $6 per square meter. Part B:
Each computer connected to the Internet is given its own unique Internet Protocol address. Group of answer choices True False
The total cost of 3 bikes is 480 000 . One bike costs twice as much as the smallest and another 3 times as much a the smallest ? ​
write an essay how carlotta and sylvia connect with the song ain't gonna let nobody turn me around