| 1.3 | Develop code that declares, initializes, and uses primitives, arrays, enums, and objects as static, instance, and local variables. Also, use legal identifiers for variable names.
Enums and arrays are covered in this chapter. For primitive types, see Section 2.2, p. 28. For initialization of static, instance, and local variables, see Section 2.3, p. 31. For initializers, see Section 9.7, p. 406.
| | 1.4 | Develop code that declares both static and non-static methods, and—if appropriate—use method names that adhere to the JavaBeans naming standards. Also develop code that declares and uses a variable-length argument list. | | 1.5 | Given a code example, determine if a method is correctly overriding or overloading another method, and identify legal return values (including covariant returns), for the method.
| | 1.6 | Given a set of classes and superclasses, develop constructors for one or more of the classes. Given a class declaration, determine if a default constructor will be created and, if so, determine the behavior of that constructor. Given a nested or non-nested class listing, write code to instantiate the class.
| | 7.2 | Given an example of a class and a command-line, determine the expected runtime behavior. | | 7.3 | Determine the effect upon object references and primitive values when they are passed into methods that perform assignments or other modifying operations on the parameters.
|
|