/* 6) Return default string >>>**** */ import org.apache.commons.lang.StringUtils; public class StringUtilsTrial { public static void main(String[] args) { // Takes Object input and returns Empty String if null. System.out.println("6) Return default string >>>" + "**" + StringUtils.defaultString(null) + "**"); } }