In this tutorial we are going to tell you what is assertion in Java and how to use it in your Java program to improve the quality of your applications! What is Assertion in Java According to Sun, we can use assertion to test our assumption about programs. That means it validates our program! In another words we can say that assertions ensures the program validity by catching exceptions and logical errors. They can be stated as comments to guide the programmer.
Click on the following link to know all about assertion in details.
Posted on: July 2, 2010 If you enjoyed this post then why not add us on Google+? Add us to your Circles