title: Return type for returning an object or NULL
body: <p>I currently have a method that returns back an object (say school). However sometimes in that method it could return NULL which is an int. What should the return type of such a method be.that I could return any of the two safely. Any suggestions ? I am open to other approaches.</p>