Duration: 15:56 minutes
Summary: In this video, we are still continuing the practice exam. The key points here are: Exceptions, Threads, inheritance, variable scope, and passing parameters to the application in the main method. First of all, there are exceptions that can be thrown by the JVM and others that can be thrown by the developer. Examples of classes thrown by the JVM are: StackOverflowError, NullPointerException, and ArrayIndexOutofBoundException. NumberFormatException is an exception that can be thrown by the developer. Second, there are method calls that let the thread leave the running state. Some of these methods are: wait(), sleep(), and join(). Third, there are classes that can be instantiated via a constructor and other classes instantiated via a factory method. Examples of classes instantiated via a factory method are: Calendar, DateFormat, and NumberFormat. Another key point that you need to pay attention to, is the variable scope, returning the correct type from a method, and passing parameters to the application through the main method. Examples of these concepts are discussed in this video.