java Nameing conventions

mohammadnikkhah

Mohmmadnikkah

Posted on August 28, 2019

java Nameing conventions

Hello dear friends🙋‍♂️

In this way, we want to explain the proper naming in Java

Well let's go😉

➡️Always try to write packages in lowercase

for example --> com.sample.net

➡️For classes, try capitalizing the first letter and continuing the letter in lowercase

for example --> Restart

**Use meaningful names in classes

➡️Write the methods in lowercase and then write in the form of a camel case.

for example --> setAge

**Use the verb to name the method.

➡️Write all fixed variable words in capital letters.

for example --> MAX_AGE

Wait for the next posts...😉🤷‍♂️

tanks🌹

💖 💪 🙅 🚩
mohammadnikkhah
Mohmmadnikkah

Posted on August 28, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related