0
Classcastexception???
why do i get Classcastexception error for this?could someone explain please... https://code.sololearn.com/cWnu3boE0x0T/?ref=app
3 ответов
+ 1
Hello, based in
http://www.codejava.net/java-core/the-java-language/what-is-upcasting-and-downcasting-in-java
I think you can do downcasting directly, so maybe you can do it
https://code.sololearn.com/cTViFa1Gr7ZN/#java
0
https://code.sololearn.com/cmCAzuRWu88W/?ref=app
Try to check that.
0
@Daniel Fernández Hidalgo i want to use downcasting in my code.i im practicing it