Naming conventions

SAFIA KHATOONSAFIA KHATOON
1 min read

simple explanation of Pascal and camel case conventions in Java:

Pascal Case

  • Definition: Each word starts with a capital letter.

  • Example: MyVariableName

Camel Case

  • Definition: First word starts with a small letter, and each following word starts with a capital letter.

  • Example: myVariableName

In summary:

  • Pascal Case: MyClassName

  • Camel Case: myMethodName

0
Subscribe to my newsletter

Read articles from SAFIA KHATOON directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

SAFIA KHATOON
SAFIA KHATOON

Hi! My name is Safia Khatoon. I am complete my Bachelors in Technology from RTC Institute Of Technology. My specialisation in Computer Science and Engineering.I love contributing to Open Source with the help of the skills I gain. Also, I'm working on my YouTube Channel as well where I teach about DevOps tools and make technical content. You can have a look at it through my profile. Feel free to reach out to me! I'd be happy to connect with you.