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

1) Multiple reference variables can refer to the same object.
2) The new operator is used to access an object's methods.
3) A variable that is declared as a primitive type stores the actual value of the associated data. A variable that is declared as an
object type stores a pointer to the associated object.
4) The value of a primitive datatype variable may be assigned to an object of the corresponding wrapper class, and vice-versa.
5) String objects can be changed after instantiation.


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

Computer Science & Information Technology

You might also like to view...

Write a statement that computes the square root of a variable called discriminant and stores the value in a variable called result.

What will be an ideal response?

Computer Science & Information Technology

Suppose the input.c file has versions 1.1-1.6, and that you need to delete version number 1.3. How can you accomplish this task if the file is managed under

a) RCS (RCS/input.c,v)? b) CVS ($CVSROOT/project1/input.c,v)?

Computer Science & Information Technology

[Ctrl][5] (Win) or [Command key][5] (Mac) is the quick key for ____.

A. Make Guides B. Lock Guides C. Release Guides D. View Guides

Computer Science & Information Technology

All text in a table is centered horizontally and vertically within cells by clicking the Center button

Indicate whether the statement is true or false

Computer Science & Information Technology