Review Questions
Submitted by jeffheaton on Thu, 01/10/2008 - 03:52
1. How do you read a number from the user?
2. What is the difference between print and println?
3. What happens if a “bad number” is passed to a method such as Integer.parseInt?
4. How do you handle “bad numbers” properly in a Java program?
5. What is the purpose of a try/catch block?












