3 ms·
You can’t change the object’s type in Java, so if you hold on to the same reference it will be safe to use after the instanceof check.
by kaba0 5y ago
You can’t change the object’s type in Java, so if you hold on to the same reference it will be safe to use after the instanceof check.