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



Subscribe to Tutorials

Related Tutorials

Program using concept of byte long short and int in java

Update contents of a file within a jar file

Tomcat and httpd configured in port 8080 and 80

Java File

Java String

Count number of vowels, consonants and digits in a String in Java

Reverse a number in Java

Student marks calculation program in Java

Handling Fractions in Java

Calculate gross salary in Java

Calculate average sale of the week in Java

Vector in Java - Sample Program

MultiLevel Inheritance sample in Java

Multiple Inheritance sample in Java

Java program using Method Overriding

Archived Comments

1. a big thanks!
View Tutorial          By: xamae at 2010-01-13 02:52:51

2. pl tel me how to open port no

i can

View Tutorial          By: SUdhir at 2011-01-28 00:21:55

3. thanks ........... its so easy and interesting to
View Tutorial          By: sammy at 2011-07-25 00:47:44

4. I tried this with HttpUnit (using the custom Hostn
View Tutorial          By: Michael Gower at 2012-01-04 17:40:00

5. Neatly explained about the three important functio
View Tutorial          By: Jitendra Lenka at 2011-02-03 06:34:10

6. all of codes of t-C++ ide, it is applicable to use
View Tutorial          By: jonard at 2009-06-05 20:41:39

7. Thanks a lot man !
PEace

View Tutorial          By: Karan Vohra at 2012-08-30 02:15:05

8. This isn't entirely correct. A class can be abstra
View Tutorial          By: Jay at 2013-01-30 14:52:15

9. Good Work ...
View Tutorial          By: Sagan at 2013-08-13 13:38:30

10. Where should I call the action /editRegistration?
View Tutorial          By: Andrei at 2013-03-08 12:21:07