Professional Documents
Culture Documents
06.Java Coding Guidelines
06.Java Coding Guidelines
Vishnu
2. Naming variable:
Use first word in small letters and all remaining words will be capitalized.
3. Naming Constants:
E.g. –MAX_MARKS.
4. Naming methods:
Use first word in small letters and all remaining words will be capitalized.
E.g. –getTotalMarks().
for getters – use get as prefix to property (for non Boolean properties).
e.g. –getRollNumber().
e.g. –setRollNumber().
e.g. –isNewStudent().
5. Naming class/interface:
1
Sri Sureka Technologies, NearAndraBank,OppositeGeethanjali High School, Near
S.R.NagarUmeshChandraStachu, S.R.Nagar, Hyderabad-500038, Ph: 040-66616677, Mobile: +91-
9885602332.
06. Java Coding Guidelines By Mr. Vishnu
E.g.-HelloWorld.
6. Comment:
2
Sri Sureka Technologies, NearAndraBank,OppositeGeethanjali High School, Near
S.R.NagarUmeshChandraStachu, S.R.Nagar, Hyderabad-500038, Ph: 040-66616677, Mobile: +91-
9885602332.