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



Ask a Question

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. I hope so.:d
View Tutorial          By: khoa at 2008-06-10 04:18:31

2. Do the serialized output is displayed in the file
View Tutorial          By: Atihs at 2012-11-17 02:38:52

3. It's helpful to me.. to understand stand clear pic
View Tutorial          By: Ansari at 2010-08-18 10:22:54

4. thanks for all samples..
View Tutorial          By: 珠洲市 at 2013-03-01 09:47:46

5. Nice one , Compailed no Errors ... but when execut
View Tutorial          By: Diamant at 2012-12-04 00:17:11

6. Program is good and easy to understand
View Tutorial          By: sravs at 2011-05-16 00:45:05

7. Class TypeCasting
{
public static v

View Tutorial          By: kishoree koli at 2013-03-14 03:00:31

8. i want to more explanation about serlization
View Tutorial          By: sumathi at 2013-12-22 15:00:20

9. more info needs to be given ............
View Tutorial          By: sufficient for new commer at 2008-05-09 00:41:58

10. You should check out the new BonCode connector for
View Tutorial          By: Petro Donic at 2012-07-16 02:34:06