Did it!
My question is if I want a loop that each time I run the program it prints 3 names randomly from the list
Type: Posts; User: pooyan89
Did it!
My question is if I want a loop that each time I run the program it prints 3 names randomly from the list
In this code I create first a list with some names and then print them randomly:
package testrandom;
public class TestRandom {
public static void main(String[] args) {