Login
From:
How to Fix ClassCastException "java.lang.Integer cannot be cast to class java...
(Uncensored)
subscribe
How to Fix ClassCastException "java.lang.Integer cannot be cast to class java.lang.Long" - LogFetch
https://logfetch.com/java-classcastexception-integer-cannot-be-cast-to-long/
links
backlinks
Roast topics
Find topics
Find it!
We can simply cast the value to Number and call the appropriate method to obtain the value (e.g. intValue(), longValue()).