java if different ways

Solutions on MaxInterview for java if different ways by the best coders in the world