“dblMy Age” what is the problem with this variable name?

Starts with uppercase character
Contains uppercase characters
Contains a space
Contains reserved word dbl

The correct answer is D. The variable name “dblMy Age” contains the reserved word “dbl”. Reserved words are words that have a special meaning in a programming language. They cannot be used as variable names.

Option A is incorrect because the variable name does not start with an uppercase character.

Option B is incorrect because the variable name contains both uppercase and lowercase characters. This is allowed in most programming languages.

Option C is incorrect because the variable name does not contain a space. Spaces are allowed in variable names in most programming languages.

Exit mobile version