Quantcast
Channel: BlogoSfera » numeric
Viewing all articles
Browse latest Browse all 12

How Java deal with hard coded numeric vaues?

$
0
0

I have decompiled a Java class which contain this line : DatabaseError.throwSqlException((int)23); Until now i believe that Java consider that literal numeric value is int, So why they cast 23 ? And in general how Java deal with hard coded numeric values ?

The post How Java deal with hard coded numeric vaues? appeared first on BlogoSfera.


Viewing all articles
Browse latest Browse all 12

Trending Articles