Variables Flashcards
employeeNumber
Is this a proper variable name?
employeeNumber
Yes, the name of this variable is in standard camelCase.
EmployeeNumber
Is this a proper variable name?
EmployeeNumber
No, this is NOT a variable. The name is not camelCase.
USER_NAME
Is this a proper variable name?
USER_NAME
No, this is NOT a variable name. It’s a constant.
userName
Is this a proper variable name?
userName
Yes, the name of this variable is in standard camelCase.
SalaryType
Is this a proper variable name?
SalaryType
No, this is NOT a variable. The name is not camelCase.
gender
Is this a proper variable name?
gender
Yes, the name of this variable is in standard camelCase.
CEOname
Is this a proper variable name?
CEOname
No, this is NOT a variable. The name is not camelCase.
employee_number
Is this a proper variable name?
employee_number
No, this is NOT a variable. The name is not camelCase.
bugsBunny
Is this a proper variable name?
bugsBunny
Yes, the name of this variable is in standard camelCase.
companyNAME
Is this a proper variable name?
companyNAME
No, this is NOT a variable. The name is not camelCase.
Hogwarts
Is this a proper variable name?
Hogwarts
No, this is NOT a variable. The name is not camelCase.
collegeName
Is this a proper variable name?
collegeName
Yes, the name of this variable is in standard camelCase.
myschoolname
Is this a proper variable name?
myschoolname
No, this is NOT a variable. The name is not camelCase.
playerName
Is this a proper variable name?
playerName
Yes, the name of this variable is in standard camelCase.
myName
Is this a proper variable name?
myName
Yes, the name of this variable is in standard camelCase.