Java Random Number getFlightNumber()

Here you can find the source of getFlightNumber()

Description

get Flight Number

License

Open Source License

Declaration

public static String getFlightNumber() 

Method Source Code

//package com.java2s;
/*//from w ww .j  a  v a 2 s. co m
 * All GTAS code is Copyright 2016, Unisys Corporation.
 * 
 * Please see LICENSE.txt for details.
 */

import java.util.Random;

public class Main {
    public static String getFlightNumber() {
        Random random = new Random();
        Integer select = random.nextInt(999);
        return select.toString();
    }
}

Related

  1. genRandomNumber(int minNumber, int maxNumber, int digits)
  2. genRandomNumberString(int numberCount)
  3. genRandomNumList(int num, int count)
  4. getChance(Number number)
  5. getDocumentNumber()
  6. getNextRandomNumber()
  7. getNum(int length)
  8. getNumAndWord(int length)
  9. getNumber()