Questions tagged [casting]

Questions related to teaching about type casting. Use this tag to ask about teaching various aspects of type casting.

Filter by
Sorted by
Tagged with
7
votes
5answers
124 views

Breaking down the operations when auto-casting gets complex

So, take a Java statement like this one, given some int n: if ((n+"").length() == (((n+1)+"").length())) { Or perhaps this ...