QuestionQ77

VerifiedDevelopment and Testing

Which of the following variable names follows the naming convention for a Boolean?

Explanation

Boolean names should clearly express a true/false condition, commonly using a prefix such as Is, Has, or Can. IsRed denotes whether something is red.

Community Discussion

No comments yet. Be the first to start the discussion!