Review Questions | Heaton Research

Review Questions

Get the entire book!
Java for the Beginning Programmer

1. What are if/else ladders often replaced with?

2. If no case statement matches what happens?

3. How do you compare two strings in Java?

4. Is it possible to make it through an if/else statement and execute neither the if or else body?

5. How do you use a switch/case with a String?

Copyright 2005-2008 by Heaton Research, Inc.