The guidelines provided by Java are intended to improve the readability of code and make it consistent across the wide spectrum of Java projects. A style guide is about consistency. Consistency with this style guide is important. Consistency within a project is more important. Consistency within one package, class, or method is the most important.

The main goal of the recommendation is to improve readability and thereby the understanding and the maintainability and general quality of the code. It is impossible to cover all the specific cases in a general guide and the programmer should be flexible.

Now let’s talk about the naming convention in Java:-

1. Package name:-

2. Class and Interface name:-

3. Method name:-

4. Variable name:-

#coding-style #coding-standards #java #java coding standards #conventions #code conventions

Java Coding Standards
1.15 GEEK