New course! Every coder should learn Generative AI!
Try a free lesson0
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())));
1 Answer
+ 1
~swim~
Thank you so much