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



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. but need in the case of radio buttons
View Tutorial          By: vishnu at 2011-07-21 11:39:26

2. Great job!
Lot of things cleared...

View Tutorial          By: alok at 2009-03-18 10:45:25

3. In case your having trouble

1 the a

View Tutorial          By: Sin at 2013-01-17 05:40:37

4. Thanks for make me understand about the keyword St
View Tutorial          By: Soumya at 2012-09-18 03:30:01

5. Hello, Can you please send me the complete code to
View Tutorial          By: koksingh at 2008-01-15 00:22:40

6. Sir, this is very helpful for students and profess
View Tutorial          By: Pankaj Choudhary at 2010-10-19 00:24:36

7. keep it up!
View Tutorial          By: kamran at 2010-04-13 07:01:26

8. Oh, Thanks for your code, but I think you should a
View Tutorial          By: Songokute at 2013-01-29 13:55:13

9. but it will be very simple if we use pointer in it
View Tutorial          By: Hot Water Systems at 2009-06-01 03:51:48

10. Amazing tutorial!! This is what I was exactly look
View Tutorial          By: Sumanth Vaidya at 2015-06-17 18:19:16