Java SE Course Material by Srikanth Pragada

Java SE Course Material by Srikanth Pragada

Author:Srikanth Pragada [Pragada, Srikanth]
Language: eng
Format: epub
Publisher: Srikanth Technologies
Published: 2016-11-27T08:00:00+00:00


Srikanth Technologies

Java Student’s Guide – Object-Oriented Programming II

41

Assertions

 Assertions can be used to validate assumptions made about state

of the program.

 Each assertion is associated with a Boolean condition. If

condition fails it means the assumption fails and assertion error

occurs.

 Assertions are disabled by default. So, you must enable

assertions at the time of running program.

 Assertions are part of development process. They should not be

included in final version of your code.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.