Sunday, September 20, 2009

How to turn on Assertion in jdeveloper

While writing code, we might make certain assumptions.

Say, our govt runs a loan program, where everyone who request for a loan, would at least get something. There would never be a case, when people return empty handed..

public Long fulFillWish() {
/*depending on business rules, give loans..however since this is govt..everyone would get something.*/
if(retunAmt <> Run/Debug/Profile
Edit the default Run Configuration


No comments:

Post a Comment