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)?
0 ответов
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)?