Assertions In Java


In this article I’ll give a detailed explanation of the use of Assertions in Java. Assertion often confuse the programmer. It so happens that a programmer is confused as to which of the following to use: IF / ELSE or Assertions?. Assertions are basically used to test whether your code is according to the rules […]