public class TechnoSample
{
public static void main(String[] args) throws Exception
{
int i = 2;
boolean b = true;
throw new Exception("Values are:" + (b != b) + "," + (i = args.length) + "," + (b = i == 2));
}
}
Out Put :
Exception in thread "main" java.lang.Exception: Values are:false,0,false
at net.dharmaraj.TechnoSample.main(TechnoSample.java:9)
No comments:
Post a Comment