Best Coding Practices Every Java Developer Should Follow

1- Project Structure

2- Use proper naming conventions

3. Never leave a catch blocks empty

4. Class members must be accessed privately

5. Use StringBuilder or StringBuffer for String concatenation

6. Avoid redundant initializations while writing code

7. Return empty collections instead of returning null elements

8. Avoid unnecessary objects creation

9. Developer should add proper commenting while writing code