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
5 answers

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 ...
  • 31.8k