title: Is there any statement/function in java which can execute the previous body if the condition becomes false?
body: <p>I am generating a random number and if it is odd I print "hello" but if it is even I want the pogram to re-execute the program till an odd number is produced instead of finishing.</p>