Comment on Tutorial - How to use ArrayList in Java By Hong



Comment Added by : WalterB Ntuli

Comment Added at : 2010-04-09 01:51:17

Comment on Tutorial : How to use ArrayList in Java By Hong
"Type safety: The method add(Object) belongs to the raw type ArrayList. References to generic type ArrayList<E> should be parameterized."
Can Somedy explain this warning for me please and advise how to aviod it.


View Tutorial



Related Tutorials

Java program to get location meta data from an image

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

Archived Comments

1. 1==how can we use vb.net web service data in JSF?<
View Tutorial          By: kumaraswamy at 2009-01-06 23:56:53

2. Very useful. Just a small comment on the line:

View Tutorial          By: Litty Joseph at 2008-02-06 08:37:52

3. I think this code is just simple enough to be foll
View Tutorial          By: WAQ at 2010-11-24 10:41:58

4. Thanks a lot for the code...
thats working

View Tutorial          By: Rahul at 2008-06-28 14:16:10

5. hi....
i want to send sms to any mobile by

View Tutorial          By: prerna at 2010-07-09 20:15:48

6. This site is an Excellent Choice for lerners.Thank
View Tutorial          By: Sravanthi at 2011-06-28 06:20:35

7. Hello,

Can you please send me the c

View Tutorial          By: criz at 2007-10-16 21:06:30

8. i am getting following error

Error

View Tutorial          By: Pavan at 2009-11-26 21:31:22

9. Thanks a lot for sharing this solution.
View Tutorial          By: Bharath at 2012-12-18 18:32:33

10. not that much clear exampl.. you should explain it
View Tutorial          By: elangovan at 2010-06-09 02:36:19