java exit from void method

Solutions on MaxInterview for java exit from void method by the best coders in the world