/* StringUtils.equals(String arg0, String arg1) */ import org.apache.commons.lang.StringUtils; public class StringUtilsTrial { public static void main(String[] args) { // Compare Strings...No NullPointer Exception! System.out.println("12) Comapre null and null >>>" + StringUtils.equals(null, null)); } }