Search:

Type: Posts; User: pooyan89

Search: Search took 0.13 seconds.

  1. Replies
    4
    Views
    1,678

    Re: Printing many random names from an array

    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
  2. Replies
    4
    Views
    1,678

    Printing many random names from an array

    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) {
Results 1 to 2 of 2