import org.apache.commons.lang.StringUtils;
public class MainClass {
public static void main(String[] args) {
//Check that a string does not contain any of these characters !@#$%^&*
System.out.println("14) Check that ABCD contains none of !@#$%^&* >>>" +
StringUtils.containsNone("ABCD", "!@#$%^&*"));
}
}
14) Check that ABCD contains none of !@#$%^&* true