new to java, need help



Sirs/Madam

I encounter the problem on date field.
Sometimes, when there is no date, then it will return the null object. When
I want to check by

aDate.toString() = "" or null, it throws exception.

How can I ensure they return the value or not.

Please help


.