I think the Answer willbe 0101 But the Given answer is 0,1,1,0.
Can anybody explain please.....
With Regards, Deepak
posted 11 years ago
Why do you think m2 is required to throw a WhiteException?
The method m2 doesn't actually throw the WhiteException, so it just returns normally. The throws keyword only says "Look out! I could throw this Exception if things go wrong!" It doesn't mean that the Exception WILL be thrown, only that it CAN be.