Login:  Password:    
forgot my password
sign up!
Search: 
 
  This post is part of:
    Online course(s):   
 Sun Certified Java Programmer 310-065

Sun Certified Java Programmer 310-065-Lesson 16-Control Flow, Exceptions and assertions-Part 4 (Starting with nested loops and labeled break statements) | Java courses

In this video we started with nested loops and labeled break statements.

"
download the application please visit www.mrbool.com/player

Title: Sun Certified Java Programmer 310-065-Lesson 16-Control Flow, Exceptions and assertions-Part 4 (Starting with nested loops and labeled break statements)

Duration:  18 minutes

Summary: This video wraps up our discussion of control flow, exceptions and assertions. We started with nested loops and labeled break statements. We discussed how that differs from the regular break statement. We also talked about how a method that calls itself will cause a StackOverflowError instead of an exception. We then discussed assert statements that have two expressions, and how the second expression must return a value. We finally talked about tricky questions regarding an exception being thrown, but the package it is declared in is not being imported into the program.

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.





Add a comment!
[Fechar]

Este post é fechado - você precisa ter acesso ao post para incluir um comentário.


Matthew Casperson
1/29/2012 3:27am
An incorrect explanation of how the assert statement works In the video statements are made like "if this is true, it's going to return hi".

Assert statements with throw a AssertionError if the statement being asserted is false, not true.


Answer it
 
Mr.Bool Editor
1/30/2012 6:43pm
RE:   We are contacting the author to see what happened.

Answer it
 
Ayad
1/31/2012 4:26am
RE:   Hi Matthew,
We are both talking about the same thing: When I say "when this is true, return 'Hi'..." I mean in the general sense of a statement that the assertion is satisfied. An assertion is satisfied (the portion after the ':' is executed) when the boolean expression within the assert is false.
 


Answer it
 



 
Help us to improve! Give us your feedback:
Give your note to the technical content
10 9 8 7 6 5 4 3 2 1
Give your note to the post's learning
10 9 8 7 6 5 4 3 2 1
Is this post helpful?
Yes No


Ayad Boudiab
Experience: A total of 10 years experience in developing applications using C++, Java, C#, ASP.NET, and SQL Server. In addition to 6 years experience in teaching programming courses at a local college. Degree: B.S. Computer Science Location: Atla...


Go to author's Space


Post stats:
Favorited:
 0

Post actions:
[Close]
To have full access to this post (or download the associated files) you must have MrBool Credits.

  See the prices for this post in Mr.Bool Credits System below:

Individually – in this case the price for this post is US$ 2,00 (Buy it now)
in this case you will buy only this video by paying the full price with no discount.

Package of 10 credits - in this case the price for this post is US$ 1,00
This subscription is ideal if you want to download few videos. In this plan you will receive a discount of 50% in each video. Subscribe for this package!

Package of 50 credits – in this case the price for this post is US$ 0,33
This subscription is ideal if you want to download several videos. In this plan you will receive a discount of 83% in each video. Subscribe for this package!


> More info about MrBool Credits








mrbool.com
contact us   |   publish your post   |   buy credits

Copyright 2012 - all rights reserved to www.web-03.net