02 Variables Rules
02 Variables Rules
1. Case Sensitive
Ex :
int amount;
int Amount;
Ex :
int room1;
int cabin51;
int room_number
oat total$amount
fl
ff
3. Starts with Alphabet _ or $
Ex :
byte x1;
byte _x;
Ex :
string
int string
The rst letter of a word must be capital except for the rst
word
Ex :
byte rollNumber;
fi
fi