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. The example is awesome i found it most useful amon
View Tutorial          By: sabir pasha at 2009-01-20 05:11:34

2. Excellent.
Just one question... What is the

View Tutorial          By: HeilGates at 2010-08-04 13:38:12

3. Who can send me the program and source to call thi
View Tutorial          By: Michael Chon at 2008-10-04 21:03:30

4. i want to know about basic requirement for jdbc ,
View Tutorial          By: Amit sharma at 2009-03-19 04:10:24

5. Sir!
I want the source code for receiv

View Tutorial          By: Anupam Shukla at 2010-04-30 00:09:25

6. Thanks summarized and useful
View Tutorial          By: Pegasus_Silvershade at 2010-09-10 18:02:49

7. is there a way to notify a specific thread?
View Tutorial          By: bob at 2010-03-23 11:57:29

8. aoa i am for the first time learning programing pl
View Tutorial          By: manaal siddiqui at 2011-11-02 09:38:00

9. setListAdapter(new ArrayAdapter<String>(

View Tutorial          By: Mark at 2013-02-02 02:25:42

10. hi.....
if we have number of fieldsl ike na

View Tutorial          By: shailesh at 2011-12-15 07:10:34