Sun Certified Java Programmer 310-065-Lesson 13-Control Flow, Exceptions, and assertions-Part 1 | Java courses
In this video we start our discussion on control flow, exceptions and assertions.
"
download the application please visit www.mrbool.com/player
Title: Sun
Certified
Java Programmer 310-065-Lesson 13-Control Flow, Exceptions, and assertions-Part 1
Duration: 16 minutes
Summary: In this video we start our discussion on control flow, exceptions and assertions. We will cover the questions related to these concepts in the next 4 videos. To start with, the only legal expression in an if statement is a boolean expression. When we have multiple if/else statements, we can replace them with a switch statement. The switch statement can evaluate only to enums, byte, short, int, and char data types. In a switch statement, we use the break statement to get out of a case. If we do not, we fall into the next case. In this video, I give a quick overview of switch, loops, break, continue, Exceptions, and assertions. Then I cover couple of questions related to compiling assertions with a version 1.3 and 1.4 of the java language to see how the compiler will react to that. Then we tackled a question about throwing an exception and how that bubbles up to the calling methods.
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: