Java Programming/Statements/assert
Appearance
Assertion is just simply a check point to validate the conditional statement. For Example : if you want to check a age validation which can not be exceed 18 year then we can write this statement - > Assert age >= 18:Eligible to vote;