Sun Certified Java Programmer 310-065-Lesson 15-Control Flow, Exceptions and assertions-Part 3 (Switch statements, initialization, and exception) | Java courses
In this video, We discussed some questions that have to do with switch statements, initialization, and exception.
"
download the application please visit www.mrbool.com/player
Title: Sun
Certified
Java Programmer 310-065-Lesson 15-Control Flow, Exceptions
and assertions-Part 3 (Switch statements,
initialization, and exception)
Duration: 16 minutes
Summary: This video continues our discussion of control flow, exceptions and assertions. We discussed some questions that have to do with switch statements, initialization, and exception. On exam questions, it is important to note the missing break statements inside a switch statement, and how the fall-through from one case to another will affect the output of the program. We also discussed infinite loops and how uninitialized static variables can cause NullPointerExceptions. Finally, we talked about continue statements, and how the current iteration of the innermost loop to stop, and the condition to be evaluated again.
Methodology of the development of example: Good coding standard and simplified design to prepare for the Java programmer certification exam CX-310-065.
Technology Used: Java – Core Concepts.
Keywords: Sun Certified Java Programmer, if statement, switch statement, boolean, default, for loop, declaration, expression, break, continue, labeled break, labeled continue, Exception, checked exception, unchecked exception, try block, catch block, finally block, Error, Runtime exception, assert.
Help us to improve! Give us your feedback: