• A Value-A
  • B Compilation fails-Exception NullPointerException is not compatible with throws clause in A.printName()
  • C Name-B
  • D Compilation succeed but no output