Arjun Sen

Greenhorn
+ Follow
since Sep 19, 2007
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Arjun Sen

Yogvinder is correct. The return from isvalid() is auto(un)boxed. Furthermore assertions can only be "enabled" at runtime. You will not get assertion errors at compile time. However the compiler will complain if the argument to assert() is not boolean/Boolean (assuming you are using JDK 1.4 upwards).