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. The program will work only need to change

View Tutorial          By: LEENA NARULA at 2012-06-15 06:45:06

2. nice
View Tutorial          By: utkarsh at 2015-03-10 03:18:26

3. this is genius.
you are a master of recursi

View Tutorial          By: Chandler at 2010-03-26 09:56:08

4. Indent your code, man.
View Tutorial          By: Jenga at 2009-02-16 17:30:07

5. plz can u give me code for database connectivity f
View Tutorial          By: nilam at 2012-03-15 12:54:07

6. Hi,
Downloaded all the five files but there

View Tutorial          By: Ratan at 2014-09-25 11:38:49

7. it is a good example thanks
View Tutorial          By: tadeleh at 2012-11-13 12:46:08

8. Pl send some sample program for speech to text wit
View Tutorial          By: gokul at 2012-09-27 10:28:19

9. thank you..........
View Tutorial          By: ravi at 2010-01-29 23:27:39

10. the example program that given above for recursion
View Tutorial          By: bharathi at 2012-07-17 09:31:14