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)?
1 Réponse
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)?