the first snippet will throw a CCE if `y` is not a...
# announcements
y
the first snippet will throw a CCE if
y
is not a
String
. the second will assign
x
to null in that case