Duration: 17:52 minutes
Summary: In this video, we continue our second set of the Java certification exam. We start with a class that tests our ability to follow method calls. One method calls another with appropriate parameter and casting. We need to follow the correct method call and produce the right output. With these type of questions, it is important to draw the method calls on a piece of paper so you can track it back when the call stack unwinds. In the second question we talk about array declarations, how arrays get passed into methods, and how their values get changed. The third question is about working with regular expressions. Remember that \d matches a digit, \s matches a space, and \w matches a word. The method start() returns the starting position of a match, and the method group() returns the group that was matched. In the fourth question, we look at the correct way of getting a Date() object from a calendar class (using the getTime() method of the Calendar class).