Which block of the code will get executed when running below code with String variable greetings value "Hello" (assume t

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

Which block of the code will get executed when running below code with String variable greetings value "Hello" (assume t

Post by answerhappygod »

Which Block Of The Code Will Get Executed When Running Below Code With String Variable Greetings Value Hello Assume T 1
Which Block Of The Code Will Get Executed When Running Below Code With String Variable Greetings Value Hello Assume T 1 (456.26 KiB) Viewed 18 times
Which block of the code will get executed when running below code with String variable greetings value "Hello" (assume there are no syntax and compile errors)? if (greetings.equals("hello")) \{ // true block \}else \{ I/ false block 3 false block both the blocks true block none of these blocks
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply