CamelCase in Java naming conventions

Java Programming Java8Object Oriented Programming

Java follows camel casing for objects, class, variables etc. If a name is having multiple words, the first letter is small then consecutive words are joint with the first letter as a capital case. Consider the following example −

Taxation Department

Class - TaxationDepartment

Object - taxationDepartment

Method - getTaxationDepartmentDetails

Variable - taxationDepartment

raja
Published on 23-Apr-2018 10:21:32
Advertisements