Consider pass by value versus pass by reference. Java is always ... which one? How does that apply here?
Also, even if the object is null, a) the compiler won't know that (it's a runtime condition) and b) it's a valid state. You'll only get an error (NullPointerException at runtime) if you try to access a field or method on a null object.
I hope that helps to clarify.
Joined: Apr 19, 2004
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com