Looking around forums and the web, i have come across the advice that a method should have single entry and exit points. My first question is does the sinlge entry point apply to java. I can't see how a method can have an entry point other than invoking it and passing argumnets to it.
The second question is that why only a single return statement, is this for the sake of the clarity of the source code, or can the compiler/jvm optomize a method with a single exit point in a way which it can't with 2 exit points.