Home Tutorial Java Certification Assertion in java

 
 

Share on Google+Share on Google+
Assertion in java
Posted on: July 2, 2010 at 12:00 AM
Advertisement
In this topic you will learn about different type of assertion, where and how it is used.

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.

Assertion in Java

How to compile and how to Enable and Disable Assertion

Advertisement

Related Tags for Assertion in java:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: July 2, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com