Originally posted by Brian LaRue:
Is it that a String can not hold a null value?
I would hope so since your code assumes that this is so. Look at this line:
So, assuming that this is correct, that a string can be equal to null, what would happen if you took a null string and tried to determine its length?
On the bright side, your code is almost there.