Write an expression whose value is the number of characters in the following String : “CRAZY!\n\\\t\\\\\\\\\\n. . . .\\ \\\r\007’\\’\”TOOMUCH!”
LANGUAGE: JAVA
CHALLENGE:
Write an expression whose value is the number of characters in the following String :
“CRAZY!\n\\\t\\\\\\\\\\n. . . .\\ \\\r\007’\\’\”TOOMUCH!”
Suggestion: copy/paste the above String into your code– it’s too crazy to try to copy it by typing.
SOLUTION:
"CRAZY!\n\\\t\\\\\\\\\\n. . . .\\ \\\r\007'\\'\"TOOMUCH!".length()