Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

import java.util.Random;

public class Main {
    private static String randomSSID(int n) {
        String chars = "abcdeifABCDEIF0123456789";
        String res = "";
        Random rnd = new Random();
        int leng = chars.length();
        for (int i = 0; i < n; i++) {
            res = res + chars.charAt(rnd.nextInt(leng));

        }
        return res;
    }
}