8.9k views
5 votes
This type of member variable may be accessed before any objects of the class have been created.

a. private
b. public
c. inline
d. static
e. None of these

User LastElb
by
3.5k points

1 Answer

5 votes

Answer:

d. static

Explanation:

This is a question about Java programming.

A class contains information about it's members(objects). Private, public or inline variables must be related to an object, that is, an object has to be created before the variable is acessed.

Static variables, otherwise, may pertain to the class, and not to the object, that is, and thus, the correct answer is given by option d.

User Loint
by
3.3k points