O'Reilly logo

Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams by Jamie Jaworski

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Apply Your Knowledge

Review Questions

1:What is the purpose of a statement block?
2:For which statements does it make sense to use a label?
3:What is the difference between an if statement and a switch statement?
4:What restrictions are placed on the values of each case of a switch statement?
5:How are commas used in the initialization and iteration parts of a for statement?
6:What is the difference between a while statement and a do statement?
7:Can a for statement loop indefinitely?
8:What is the difference between a break statement and a continue statement?
9:What classes of exceptions can be caught by a catch clause?
10:What class of exceptions is generated by the Java run-time system?
11:What happens if an exception is not caught?
12:What is the purpose ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required