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

Create a cool login page using HTML+CSS!!..😍

Nigeria, Brazil dominate FIFA U-17 World Cup winners list