Java tutorial
//package com.java2s; public class Main { public static boolean isPasswordTypeCorrect(String password) { if (password.length() < 8) return false; return true; } }