casting for object | Sololearn: Learn to code for FREE!
¡Nuevo curso! ¡Todo programador debería aprender IA Generativa!
Prueba una lección gratuita
0

casting for object

Hi in this code: String s = "Hello"; Object o = (Object) s; System.out.println(o instanceof String); result is true why is not an Object Stance( result=false)?

29th Aug 2021, 12:06 PM
Hadi
Hadi - avatar
0 Respuestas