Java Password Generator

This is a Java function which returns a password String.

    public static String generateRandomPassword(int length) {                   
        String chars = "0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi"             // The chars that can be used
                +"jklmnopqrstuvwxyz!";
        Random rnd = new Random();
        StringBuilder sb = new StringBuilder(length);
        for (int i = 0; i < length; i++)
            sb.append(chars.charAt(rnd.nextInt(chars.length())));
        return sb.toString();
    }