can anyone tell me how the following program works ..?
----------------------------------------------------------------------
public class TernaryAssertion{
public static void assertBounds(int low,int high,int value){
assert (value > low ? value < high : false)
: ( value < high ? "too low" :"too high");
}
public static void main(
String[]args){
assertBounds(100,200,150);
}
}
-----------------------------------------------------------------------
[ February 28, 2006: Message edited by: Aafreen Moinuddin ]