Henry Wong wrote:
narendra bhattacharya wrote:
Sorry sir sorry for the trouble .. sir when i am writing like this ..
what is wrong with it...
It's not valid Java. In fact, I am not even sure what you are trying to accomplish (trying to return). Maybe if you tell us, what did you expect to happen, we can give you a hint in the right direction.
Henry
Is the concept is:
there is always a right to left flow whenever return is required .. like return a=1; (right to left)
also when we are using it in the assert it is going to be printed if condition
test returns false along with the exception..and there toString() method is called ..and with void it can't be...
Henry Wong Sir is this right