Solved

Static Variables That Are Constants Are Usually Declared to Be

Question 15

True/False

static variables that are constants are usually declared to be public because they typically are provided to allow the client to set preferences for the operations of a class. If you define a static variable for your class that is not a constant, it is best to define it as private and provide accessor and mutator methods, as appropriate, for client access to the static variable.

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions