1
AssignmentMultiple Choice

Resources for Programmers

Question 1 • Introduction to Information Technology - EL3701

Which variable name is an example of mixedCase syntax?

Answer
A
breakfastFood
B
BreakfastFood
C
BREAKFAST_FOOD
D
breakfast_food

Explanation

MixedCase combines words by capitalizing a letter within the name, without using underscores. “breakfastFood” starts with a lowercase letter and capitalizes “Food,” so it is mixedCase. “BreakfastFood” begins with a capital letter, while the other choices use underscores or all capitals.

AI-written and checked against the verified answer.