posted 15 years ago
Hi all,
1).I read in KB book that we cannot use assert statements to compare public method arguments, but in the following code, am able to do that. Can someone tell me why?
2). Also, I read that we cannot have the assert statements in a catch block. I can do that too.
Maybe both the statements are not cannot and just should not? If so, why should we not do them?
Thanks.
[ September 27, 2008: Message edited by: Arjun Reddy ]