Naming convention of variables that we use
In the labs and sample programs you see, we try to use a naming convention for our variables, that is we try to standardize how we name our variables. You are not required to follow it, but it may make things easier for you to understand.
EXAMPLES: int iNumStudents; int iCreditHours = 0;
EXAMPLES: float fGPA; float fProbSuccess;
EXAMPLES: char chGender; char chLetterGrade = 'A';
EXAMPLES: String strPersonName = "Gromit"; String strStreetName; Again, please note that 'c' is a character, while "c" is a String
EXAMPLES: void setName( String strName ) { this.strName = strName }
courtesy of http://www.cc.gatech.edu/classes/cs1502/lecture/sum97/lecture.1.html
Jason Hong's notes from the summer quarter CS1502 Java at Georgia Tech (Atlanta,GA,USA) archived on the College of Computing's webserver.
-BenKnowles
Document Created Nov 8 1997 by ChrisSmith
Have a look at the HungarianNotation document!