Java best practices

  • Use as many tools as possible to improve code quality.
  • Use string buffer instead of string concatenation when concatenating.
  • Use comments in your code not documentation.
  • Often check-in your code.
  • Break complex programs in easy to understand blocks
  • Use naming conventions and give relevant names to blocks, methods and variables.
  • Always format your code inorder for others to easily read it.

Comments

Popular posts from this blog

Integration Control

Zensar Java interview questions