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

Riley bought boxes of thank you cards and get well cards. The thank you cards came in boxes of 9 and the get well cards came in boxes of 4. Riley bought 5 boxes
Somebody helppp What change, if any, should be made in sentence 4? Change had started to have started. O Change is to was. O Change would be like to will be l
If a company’s inventory was destroyed by fire, but the accounting records were saved, the method that would probably be used to estimate the amount of inventor
which of the following provides attestation and is signed by a trusted platform module
Hello can someone please help me ​
(10, y) and (3,4) m= -2/7 y=mx+b
ông K điều hành một nhà máy nếu ông không lắp máy lọc trong ống khói của nhà máy .khí của ống khói sẽ gây ra các vấn đề hô hấp cho ông X. thu nhập trên mỗi cổ p
help asap pls!!!!!!!!!
What is the name of the policy adopted by China in the late 1970's??
Matching: equations and graphs