Solved

A String Variable Named S Has Been Declared and Holds

Question 74

Essay

A String variable named s has been declared and holds some value. If its number of characters is even and greater than or equal to 10, output EVEN AND LONG, otherwise, output ODD OR SHORT.

Correct Answer:

verifed

Verified

if ( s.length( ) % 2 == 0 && s...

View Answer

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions