In Java, an exception is an object. And it has a type, of course. This all seems vague until you start working with them. Practice will dispel the uncertainty. Be more confident in catching exceptions: catch and display the exception (indicating its type) that occurs when executing the following code: String s = null; String m = s.toLowerCase().
Exception while working with strings
You must be signed in to leave a comment
8 May 2021, 03:31
wow, this is the first task I've seen with no comments. Naturally, I want to be the first one to leave a comment. This task was very satisfying task - one try. Happy coding! :)