In reply to GURUMOORTHY:
a and b is declared as random so it takes random vales but for first times its equal.