I\'m getting a compile error at the following method.
public static boolean isValidPasswd(String passwd) {
String reg = \"^(?=.*[0-9])(?=.*[a-z])(?=.*[A-
In eclipse try to go to file properties (Alt+Enter) and change the Resource → 'Text File encoding' → Other to UTF-8. Reopen the file and check there will be junk character somewhere in the string/file. Remove it. Save the file.
Change the encoding Resource → 'Text File encoding' back to Default.
Compile and deploy the code.