Interesting Problem
August 23rd, 2008– From newsgroup ::
Can you spot the code problem below??
/*
Every algorithm might use
- any other algorithm (in this sense and also in this class)
- the types int, double, boolean
- type conversions between int and double
- arithmetic operations +-*/%
- boolean-arithmetic operations < > <= >= != ==
- boolean operations & | !
- if, while(), restricted switches, ?:
- all interfaces
An algorithm might not explicitly refer to specific classes,
arrays or other types.
*/
public class algorithm { /* todo */ }