Why should we have code conventions?

Programmers value code conventions for many reasons:

  1. Code conventions make the software more readable, allowing engineers to understand new code more easily and quickly.
  2. The original author of software hardly ever maintains it for the rest of its life.
  3. If we are going to…

Exception: An exception in java is an unwanted event that occurs and disrupts the normal flow of the program. These are recoverable. A programmer can handle such conditions and take necessary corrective actions. Some of them are NullPointerException, SQLException, ClassNotFoundException and RuntimeException. For example, a number divide by zero is…

Akshay Tomar

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store