Object x = someApi(); if (x instanceof Integer) Note that if someApi() returns type Integer the only possibilities of something returned are: an ...
-
April 5, 2022
- 0 Comments