Java tutorial
//package com.java2s; import android.util.Pair; import java.util.Random; public class Main { public static Pair<Integer, Integer> randomBalanceAndAccountNumbers() { Random random = new Random(); Integer balance = random.nextInt(80000); Integer account = 10000000 + random.nextInt(90000000); return Pair.create(balance, account); } }