Java Programming
Objectives
Applied
- Given the specifications for an application that requires only the language elements presented in this chapter, write, test, and debug the application.
- Given the Java code for an application that uses any of the language elements presented in this chapter, explain what each statement in the application does.
- Explain how the two types of comments are typically used in a Java application.
- Given a list of names, identify the ones that are valid for Java classes and variables.
- Given a list of names, identify the ones that follow the naming recommendations for classes presented in this chapter.
- Given a list of names, identify the ones that follow the naming recommendations for variables presented in this chapter.
- Describe the difference between a main method and other methods.
- Name three things you can assign to a numeric variable.
- Distinguish between the int and double data types.
- Explain what happens when an arithmetic expression uses both int and double values.
- Name three things you can assign to a String variable.
- Explain what an escape sequence is and when you would use one.
- Explain what importing a class means and when you typically do that.
- Explain what a static method is and how it differs from other methods.
- Explain what a Scanner object can be used for.
- Explain what the System.out object can be used for.
- Explain what a Boolean expression is and when you might use one.
- Explain what it means for a variable to have block scope.
- Describe the difference between testing an application and debugging an application.
- Describe the difference between a runtime error and a logical error.