0
How is this piece of code working?
Can you please help me in understanding this? //random char generator String characters="ABCDEFGHIJKLMNOPQRSTUVWXYZ"; Random random=new Random(); System.out.println(characters.charAt(random.nextInt(characters.length())));
3 Answers
+ 1
~swim~
Thank you so much