Programming Tutorials

Comment on Tutorial - Integer: byte, short, int, and long data types in Java By Abinaya



Comment Added by : Kris Heidenstrom

Comment Added at : 2011-05-28 04:15:05

Comment on Tutorial : Integer: byte, short, int, and long data types in Java By Abinaya
A useful article. It answered my question about when you should "just use int" even when the numeric range needed is so small that a short or byte would be enough. Answer: "just use int" except in arrays if you want to save memory". Thanks!

View Tutorial