Problem of the Day
Tuesday, October 13, 2026
Problem:
In Java, identifiers are used to refer to classes, methods, variables, and constants. By custom, identifiers are created according to which strategy?
| classes | methods | variables | constants | |
| a. | begin with uppercase letter | begin with uppercase letter | begin with uppercase letter | all uppercase letters |
| b. | begin with uppercase letter | begin with uppercase letter | begin with lowercase letter | all uppercase letters |
| c. | begin with uppercase letter | begin with lowercase letter | begin with lowercase letter | begin with lowercase letter |
| d. | begin with uppercase letter | begin with lowercase letter | begin with lowercase letter | all uppercase letters |
The correct answer is d. Naming conventions have been established over time, and make code more understandable for other people who are reading your work and trying to understand it.