Explain assert().- Assert method is used in debug compilation. - It takes a boolean condition as a parameter. - It shows error dialog if the condition is false and if the condition is true, the program proceeds without interruption. - This method tests a condition, which you specify as an argument to the assert statement.
|