EmilyRamos7585 EmilyRamos7585
  • 07-02-2024
  • Computers and Technology
contestada

What is the output of the code snippet given below
String s = "12345";
int i = 1;
do
{
if (i > 1)
{
System (s.substring(i, i + 1));
}
}
while (i < 5);
a) No output
b) No output (infinite loop)
c) 12345
d) 2345

Respuesta :

Otras preguntas

Phil's garage charges $50 for towing and $40 per hour t o fix a car. Cliff's Cars charges $60 for towing and $38 per hour to fix a car. After how many hours of
I nee help with my french homework
A cell must expend energy to transport substance using A. A cell membrane pump b. Facilitated diffusion c. Ion channels d. Osmosis
what does pi equal exactly
Mark cycled 25 miles at a rate of 10 miles per hour. How long did it take Mark to cycle 25 miles?
How.to be the best person in your class?
what is the relationship between 0.04 and 0.004
How would you to solve this equation by showing all your work and answer for my math teacher to correct 5-6k=8
Which best describes a likely result for the excretory system if the kidneys are weakened? A. Blood would not be filtered correctly and blood and waste would
Illuminated letters sent a visual message that communicated the content of the text. Which portion of the fifteenth-century population benefitted most from illu