Here you can find the source of getPhoneNumber()
public static String getPhoneNumber()
//package com.java2s; /*//from w w w. java 2s . com * All GTAS code is Copyright 2016, Unisys Corporation. * * Please see LICENSE.txt for details. */ import java.util.Random; public class Main { public static String getPhoneNumber() { return "0011" + getRandomNumber(9) + getRandomNumber(9) + getRandomNumber(9) + getRandomNumber(9) + getRandomNumber(9) + getRandomNumber(9) + getRandomNumber(9) + getRandomNumber(9) + getRandomNumber(9) + getRandomNumber(9); } public static int getRandomNumber(int bound) { Random random = new Random(); return random.nextInt(bound); } }