deLily2006
deLily2006 deLily2006
  • 26-01-2024
  • Computers and Technology
contestada

what is the output of the following?

public class test

{

public static void main(String [] args)

{

string prob = ''frog";

for (int x=0; x
{

for (int y=0; y<=x; y++)

System.out.print(prob.charAt(x));

System.out.println();

}

}

}

Respuesta :

Otras preguntas

what time is two and a half hours before 1:00 a.m.
Name these from smallest to biggest Rivers Rills Tributary Streams Runoff Gullies
What motivated the United States to enter into a war in Spain?
1.who was put on trial in 1633 for contradicting the roman catholic church by arguing that earth moved around the sun.
find f(-2) for the function f(x)=x^2-6
Gravity is considered what type of force? conservative non-conservative
Aubrey was arrested outside of a store that had been robbed. Police say security cameras show her leaving the store at the time of the crime. What type of case
What is 12.261 rounded to the nearest hundredth
Who is credited with putting the concept of using mass-produced interchangeable parts into practice? DeWitt Clinton Eli Whitney Cyrus McCormick Peter Cooper
A passenger train leaves a train depot three hours after a freight train leaves the same depot. The freight train is traveling 16 mph slower than the passenger