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. Its working Great.
Here i want to ask one

View Tutorial          By: Manish at 2015-03-18 11:55:20

2. Hi Satheesh, Look at http://www.java-samples.com/s
View Tutorial          By: Ryan at 2010-08-31 19:15:28

3. Good one
View Tutorial          By: Soumya Anoop at 2010-05-13 23:23:44

4. werst program out put nt comming
View Tutorial          By: anu at 2012-08-02 13:09:00

5. Hi! Sir.I am anish from Sultanpur.I want to Know t
View Tutorial          By: Anish at 2014-12-10 08:23:49

6. wow , really good java sample , and i suggest to s
View Tutorial          By: kiemtheng at 2011-08-31 13:31:32

7. nice explainations for the beginners like me :)
View Tutorial          By: Divya Taneja at 2012-02-11 13:17:17

8. why we use the java in networking and What are the
View Tutorial          By: ali mohammed at 2015-10-11 22:34:36

9. Clear explaination..Thank You Sir...
View Tutorial          By: nishanth at 2014-06-16 08:58:04

10. I don't think GSM/Modem simulatur, will get it wor
View Tutorial          By: Michael Chon at 2008-10-08 10:35:55