1) Declarations and Access Control
Objective 1
Write code that declares, constructs and initializes arrays of any base type using any of the permitted forms, both for declaration and for initialization.
1. Arrays are Java objects. (An object is a class instance or an array.) and may be assigned to variables of type Object. All methods of class Object may be invoked on an array. If you create an array of 5 Strings, there will be 6 objects created.
2. Arrays should be
1. Declared. (int[] a; String b[]; Object []...[ 查看全文 ]