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. great answer...
View Tutorial          By: nagi ponnagani at 2011-04-29 14:11:21

2. good site for buggners
View Tutorial          By: sivannaadhbaazi karampudi at 2011-12-01 15:37:55

3. Nice tutorial, I got how it's done, but the differ
View Tutorial          By: FriendlyNoob at 2015-07-20 17:27:08

4. Great!
View Tutorial          By: justauser at 2012-08-31 13:57:58

5. Thanks ,It is very useful...
View Tutorial          By: SABARISH at 2014-08-08 05:46:43

6. i can't get getword function.Where is that written
View Tutorial          By: withu at 2010-01-26 23:25:12

7. simple but accurate
View Tutorial          By: Githin Zacharia at 2011-08-10 06:08:32

8. good one.......thanks
View Tutorial          By: raghubir at 2012-11-10 19:01:45

9. hi can u send me the complete working code for sen
View Tutorial          By: Amit Adhikaree at 2011-03-22 17:47:49

10. what we have to write in simple comparator class
View Tutorial          By: shiva at 2015-04-18 09:19:17