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. sample program exception handling
View Tutorial          By: priya at 2009-09-10 05:40:29

2. Nice article
View Tutorial          By: Chakravarthy at 2009-06-09 23:29:09

3. Thanks ,got useful information on toString().
View Tutorial          By: jaffar at 2011-08-01 10:15:04

4. I used HyperTerminal directly to check whether mod
View Tutorial          By: Pugal at 2009-10-15 03:38:08

5. HI EVERY ONE I AM NEW IN J2ME SO I WANT TO LEARN S
View Tutorial          By: KALAI at 2011-04-04 03:10:32

6. @Srini

Hi Srini, I can answer your

View Tutorial          By: Sudev Wilson at 2015-04-08 12:23:33

7. I executed this program with the help of below cod
View Tutorial          By: leela at 2011-09-08 12:16:24

8. its really helpful.thanks a lot
View Tutorial          By: bena at 2015-03-04 10:39:46

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. Here i posted a good example with spring. Here rea
View Tutorial          By: Vikash K Agarwal at 2011-11-02 12:02:50