Answer the following statements true (T) or false (F)

1) An array must be declared and allocated in the same statement.
2) The number of elements in an array must be specified in brackets after the
array name in the declaration.
3) In an array of reference types, each element may be a reference to a
different type.
4) Each reference in an array of references is set to null by default when the
array is allocated.
5) Arrays can be declared to hold only non-class data types.

1) F
2) F
3) F
4) T
5) F

Computer Science & Information Technology

You might also like to view...

A program that is freely available for use and modification is a(n) ________ application

Fill in the blank(s) with correct word

Computer Science & Information Technology

When a relationship exists between tables, the relationship is represented in the Relationships window by a(n) ________

Fill in the blank(s) with correct word

Computer Science & Information Technology