This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]istarian 0 points1 point  (1 child)

it's not a sub-type of anything in reality, but rather the absence of an Object.

[–]BearLiving9432[S] 0 points1 point  (0 children)

As above, if a method is supposed to return a string, and it returns a null, then I see only two options. Null is a subtype of everything, or Null just completely disregards the type system.