Camel Case Naming Conventions in Java



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

Updated on: 2019-07-30T22:30:22+05:30

825 Views

Kickstart Your Career

Get certified by completing the course

Get Started
Advertisements