4 digit OTP Generator!!

 Randomly Generating OTP using Java..


Code:-


import java.lang.Math;

class otp{


public static void main(String[] args){


System.out.println((int)(Math.random()*10000));


}

}


Output:-






ThankYou!Keep Learning..🔥



Comments

Popular posts from this blog

Novak Djokovic's 21-match Davis Cup win streak comes to end

US-Canada bridge expected to reopen in day or two, says mayor Jim Diodati