/**
* @author (Andika Nugrahanto)
* @version (22/12/2020)
*/
public class Example5
{
public static void main(String args[])
{
try{
String str=null;
System.out.println (str.length());
}
catch(NullPointerException e){
System.out.println("NullPointerException..");
}
}
}