I am sorry Swati I was wrong there.You know it happens sometime
.Actually I was wrong here
This means to say that if you havae a return statement in between the function then after reading that return statement it will return from the function without executing the other statements below the line.
This statement is true regarding C but not in Java.Iam sorry again.I was too quick.
But Iam cent percent correct with my logic behind the error.
As too you real question,
WHat's the ponit in having return statemnt
I'll try to find an answer for it or may be some one will answer it, before I do.