Switch on null

Nathan Reynolds numeralnathan at gmail.com
Sat Apr 30 02:47:36 UTC 2022


I realize I am late to the discourse.  I discovered that JavaScript allows
for...

switch (value)
{
   case null: ...
}

What are the problems with allowing such a thing in Java?


More information about the amber-dev mailing list