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.

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.

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()

Add comment