How many times the messege 'In loop' will print to the screen when executing the below codo (assume there are no syntax

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

How many times the messege 'In loop' will print to the screen when executing the below codo (assume there are no syntax

Post by answerhappygod »

How Many Times The Messege In Loop Will Print To The Screen When Executing The Below Codo Assume There Are No Syntax 1
How Many Times The Messege In Loop Will Print To The Screen When Executing The Below Codo Assume There Are No Syntax 1 (22.78 KiB) Viewed 41 times
How many times the messege 'In loop' will print to the screen when executing the below codo (assume there are no syntax and compile errors)? int number =5; do System.out.printin( "in loop") ) while ( number I= 5 ) ; 1 time 2 times 5 times 0 times QUESTION 12 Assume 31 and s2 are two instances of the jova class String. Both s1 and s2 is assigned with the same value hello". What will happen when executing the below code (assume there are no syntax and compile errors)? if (s1.equais (s2) ) Will check both the objects hold the same data value and retum true if yes Evaluates to true only if s1 and s2 point to the same object Always refurn false Always return true
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply