Which of the following statements are true?

a. Local variables do not have default values.
b. Data fields have default values.
c. A variable of a primitive type holds a value of the primitive type.
d. A variable of a reference type holds a reference to where an object is stored in the memory.
e. You may assign an int value to a reference variable.


a. Local variables do not have default values.
b. Data fields have default values.
c. A variable of a primitive type holds a value of the primitive type.
d. A variable of a reference type holds a reference to where an object is stored in the memory.

Computer Science & Information Technology

You might also like to view...

What are the typical phases of query decomposition?

What will be an ideal response?

Computer Science & Information Technology

If a frame component is 200 pixels wide and 300 pixels high, the lower, left-hand corner has (X, Y) coordinates of:

A) (0, 299) B) (0, 300) C) (200, 0) D) (0, 0)

Computer Science & Information Technology

A(n) ________ is a prewritten Excel formula

A) function B) process C) calculation D) equation

Computer Science & Information Technology

You can select a single range of cells by

Select one: A. Pressing the Shift key and an arrow key B. Clicking the upper-left cell in a group of cells and then pressing the Shift key while clicking the lower right cell in a group of cells C. Dragging over the desired cells D. Pressing the Ctrl key while dragging over the desired cells

Computer Science & Information Technology