jwrbg

Base36

Feb 14th, 2020
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.25 KB | None | 0 0
  1. package com;
  2.  
  3. import java.util.Random;
  4.  
  5. public class Base36
  6. {
  7.   public static void main(String[] args)
  8.   {
  9.     long randomNumber = new Random().nextLong();
  10.     String output = Long.toString(randomNumber, 36);
  11.     System.out.println(output);
  12.   }
  13. }
Add Comment
Please, Sign In to add comment