Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
0
An assertion is a statement in the JavaTM programming language that enables you to test your assumptions about your program. For example, if you write a method that calculates the speed of a particle, you might assert that the calculated speed is less than the speed of light.
31st Jan 2017, 12:28 PM
‏‪‏‪baezcodez‬‏‬‏
‏‪‏‪baezcodez‬‏‬‏ - avatar