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. my query is like this: " accept a string, cou
View Tutorial          By: samtopper at 2014-07-31 17:40:25

2. can any body help me how to execute this code ....
View Tutorial          By: nikhil at 2009-06-04 23:10:30

3. How to connect a webpage(which I have created for
View Tutorial          By: sam at 2012-01-24 10:10:52

4. Hello my question is that . I want to run a audio
View Tutorial          By: Bharath at 2011-08-09 04:14:53

5. Hi All could you pls. send the execution of the ab
View Tutorial          By: subbu at 2008-01-28 03:14:27

6. Hello
I need some one send me runnable cod

View Tutorial          By: Ahmed Ghazey at 2010-08-09 01:55:48

7. You may add STAX parser example also to complete t
View Tutorial          By: Satyam Jaiswal at 2014-11-25 05:48:59

8. Hi, I have mobile application developed in java w
View Tutorial          By: Meenu at 2008-12-30 02:46:54

9. not good example to learn the overriding methods
View Tutorial          By: george at 2010-04-25 12:08:20

10. Thanks a lot. It was very helpful
View Tutorial          By: Faith Justin at 2008-12-07 06:52:29