Which of the following is false?

a. A static method must be used to access private static instance variables.
b. A static method has no this reference.
c. A static method can be accessed even when no objects of its class have been instantiated.
d. A static method can call instance methods directly.

D

Computer Science & Information Technology

You might also like to view...

Light variations and dark variations are categories of gradient fills

Indicate whether the statement is true or false

Computer Science & Information Technology

What is the general syntax to invoke a method on an object?

A. ClassName.method() B. objectName.method()

Computer Science & Information Technology