Which of the following statements is false?

a. A reference to an object is required to invoke an object’s methods.
b. A primitive-type variable does not refer to an object.
c. Reference-type instance variables are initialized by default to the value void.
d. A primitive-type variable cannot be used to invoke a method.

c. Reference-type instance variables are initialized by default to the value void. Actually, Reference-type instance variables are initialized by default to the value null.

Computer Science & Information Technology

You might also like to view...

When entering a complex formula, it is useful to use the Zoom option because column widths do not need to be changed

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following operating systems has the sidebar enabled by default on the desktop?

A. Microsoft Windows 7 B. Microsoft Windows 2000 C. Microsoft Windows Vista D. Microsoft Windows XP

Computer Science & Information Technology