Duration: 15:45 minutes
Summary: In this video, we continue our java certification sample exam. The concepts we are covering here are: correct variable declaration, case expressions in a switch statement, legal statements after a try block, regular expressions, and correctly calling static and non-static methods. Valid variable declarations cannot contain characters such as: #, %, and *. The case expressions in a switch statement must be constants. I cannot use a variable x that is not declared final. For this exam, it is important to understand the basics of regular expressions. For example, \d for numeric digits, \w for word characters, and “.” For any character.