What is the output of below code? String greeting = "Hello Worldl"; System.out.printin(greeting.substring( 5 , greeting.

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899604
Joined: Mon Aug 02, 2021 8:13 am

What is the output of below code? String greeting = "Hello Worldl"; System.out.printin(greeting.substring( 5 , greeting.

Post by answerhappygod »

What Is The Output Of Below Code String Greeting Hello Worldl System Out Printin Greeting Substring 5 Greeting 1
What Is The Output Of Below Code String Greeting Hello Worldl System Out Printin Greeting Substring 5 Greeting 1 (35.19 KiB) Viewed 27 times
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
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply