Let's sort out the "~~~ cases" used during programming.
When connecting multiple words, the rule is to write the first letter in lowercase and the second and subsequent words in uppercase.
Example
hello world -> helloWorld
programing language -> programingLanguage
osaka city -> osakaCity
Usage example
-Java method names and variable names
When connecting multiple words, the rule is to connect the words with "_ (underscore)".
Example
hello world -> hello_world
programing language -> programing_language
osaka city -> osaka_city
Usage example
-Relational database table names and column names
The rule is to capitalize the first letter of a word when connecting multiple words.
Example
hello world -> HelloWorld
programing language -> ProgramingLanguage
osaka city -> OsakaCity
Usage example
-Java object (class) name
Recommended Posts