Must begin with an uppercase letter
Each new word after the first must begin with an uppercase letter
No spaces in between words
valid and
follows conventionsvalid, but
does not follow conventionsinvalid Car
FunTime
ZooBuilding
ComputerSciencesBuilding
GroceryStore
BabyFishMouthBabyFishMouth
Foo
FooBar
FooBarBazBanfoo
fooBar
Foo_Bar
Foo Bar
FoObAr
FOOBAR
FOO_BAR1foo
Foo Bar
Foo#Bar
f o o b a rFoo-Bar
Must begin with a lowercase letter
Each new word after the first must begin with an uppercase letter
No spaces in between words
valid and
follows conventionsvalid, but
does not follow conventionsinvalid car
funTime
zooBuilding1
zooBuilding2
zooBuilding3
computerSciencesBuilding
localGroceryStore
townGroceryStore
smallGroceryStore
largeGroceryStore
babyFishMouthIsSweepingTheNation
pecanPie
harry
sally
foo
fooBar
fooBarBazFoo_Bar
FoObAr
FOOBAR
FOO_BAR
Foo
Foobarbaz
Foobarbazban
1foo
foo Bar
foo#Bar
f o o b a rfoo-Bar
Must be all capital letters
New words begin with
No spaces in between words
valid and
follows conventionsvalid, but
does not follow conventionsinvalid MAXIMUM_CAR_MILAGE
MINIMUM_CAR_MILAGE
HEARTS
SPADES
CLUBS
DIAMONDS
RED_ORANGE
YELLOW_GREEN_BLUE
FUSCHIA_TAUPE
RESET_VALUE
PI_TO_THREE_DIGITS
PI_TO_FIVE_DIGITS
PI_TO_TEN_DIGITS
PI_TO_ONE_HUNDRED_DIGITS
FOO
FOO_BAR
FOO_BAR_BAZmaximum_car_milage
MaximumCarMilage
maximumCarMilage
maximum car milage
MAXIMUM CAR MILAGE
currentCarMilage
GasTank
Foo
foo
foo_BarGasTank.Maximum
#!/usr/bin/perl/
1FOO
FOO-BAR