Main.java Source code

Java tutorial

Introduction

Here is the source code for Main.java

Source

//package com.java2s;

public class Main {
    public static boolean isPwd(String str) {
        boolean result = false;
        result = str.matches("^[0-9a-zA-Z][\\~!@#$%^&*()_+-={}\\[\\]?/,.]{6,12}$");
        return result;
    }
}