Solved

Static Variables That Are Constants Are Usually Declared to Be

Question 20

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

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents