Posted In: Exception, Java Core

NullPointerException – Handle it in Enterprise Application

  NullPointerException is most common exception that will occur when you start writing real applications. NullPointerException occurs when you declare a variable but did not create an object. Object obj = null; obj.doSomething();   I am going to write about some precautions that we could take to avoid NullPointerException in real life application.   1. […]

Read More

Tags:

by , on February 23rd, 2017

  • Categories