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



Comment Added by : Gustavo

Comment Added at : 2011-06-15 21:03:20

Comment on Tutorial : How to use ArrayList in Java By Hong
Thanks,
But i would like to use an array list as parameter for a constructor of other class, using this interface as parameter worked in methods but not for a constructor, why?

List<base_class> my_var


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. It'z to hard to study a computer programming.but i
View Tutorial          By: christine idio at 2009-10-20 02:06:58

2. Thank you!!!

just to make things c

View Tutorial          By: Oscar Torres at 2015-02-19 14:25:05

3. where is the main class .
View Tutorial          By: rishi at 2015-10-02 10:17:17

4. very good exmpl and explantion
View Tutorial          By: harshita negi at 2013-10-16 02:19:35

5. good example need some more explanation on notify
View Tutorial          By: prashant at 2009-09-08 19:29:54

6. Hi This is very fine to understanding struts flo
View Tutorial          By: Abinash at 2011-06-28 08:27:18

7. thank you for your good tutorial about string func
View Tutorial          By: joy at 2010-08-10 04:06:20

8. There is another similar discussion on use of tern
View Tutorial          By: Syed Mamun Raihan at 2008-09-10 11:29:42

9. I want to use concept of overriding and i want to
View Tutorial          By: Aniket at 2013-06-20 10:23:10

10. I need full code for how to connnect pc to mobile
View Tutorial          By: Vijay at 2009-08-23 23:38:05