CSC251-N801: Advanced JAVA Programming Attendance Quizzes
An object can store data.
True
Declaring an array reference variable does not create an array.
True
Java does not limit the number of dimensions an array may have.
True
If a[] and b[] are two integer arrays, the expression a == b compares the array contents.
False
The term "default constructor" is applied to the first constructor written by the author of the class.
False
Java limits the number of dimensions that an array can have to 15.
False
A class is not an object. It is a description of an object.
True
A constructor is a method that is automatically called when an object is created.
True
An ArrayList object automatically expands in size to accommodate the items stored in it.
True
An access specifier indicates how a class may be accessed.
True
An array can hold multiple values of several different types of data simultaneously.
True
Objects in an array are accessed with subscripts, just like any other data type in an array.
True
Once an array is created, its size cannot be changed.
True
The term "no-arg constructor" is applied to any constructor that does not accept arguments.
True
To determine if two arrays are equal you must compare each of the elements of the two arrays.
True
When an array of objects is declared but not initialized, the array values are set to null.
True
When an object is passed as an argument to a method, the object's address is passed into the method's parameter variable.
True