Java tutorial
//package com.java2s; public class Main { public static boolean isPasswdAuthorized(String str) { return (str.length() >= 6 && str.length() <= 20); } }