What is the output of below code? String greeting = "Hello Worldl"; System.out.printin(greeting.substring( 5 , greeting.
Posted: Thu Jul 14, 2022 2:28 pm
What is the output of below code? String greeting = "Hello Worldl"; System.out.printin(greeting.substring( 5 , greeting.length ()) ); lo Worl lo World! o World World! QUESTION 10 How many times below code block get executed (assume there are no syntax and compile errors)? int aNum =0 int i=0; while ( aNum < 10 ); \{ i++; 3 10 times Causes an endless loop None 9 times