1 package com.twisters; 2 public class Exceptional{ 3 4 public void SomeMethod(){} 5 6 public static void main(){ 7 Exceptional ex = new Exceptional(); 8 ex = null; 9 ex.SomeMethod(); //This must not throw an exception!! 10 } 11 } 12