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



Ask a Question

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. Can I ask something,

Can you show m

View Tutorial          By: wawa at 2014-05-03 15:28:35

2. Thanks

I was really helpful.

View Tutorial          By: saroj khatiwoda at 2015-06-02 12:17:51

3. I want inserted switch statement in my program,
View Tutorial          By: shah at 2011-02-07 01:11:12

4. better if it is explained with output of the progr
View Tutorial          By: dinesh at 2013-05-05 13:57:21

5. Thanks alot! it works.I have also suffered alot du
View Tutorial          By: jiya at 2008-11-24 10:00:50

6. very simple example.....................
View Tutorial          By: kajal at 2015-08-22 09:28:16

7. yes , this article is good & very help ful to
View Tutorial          By: Laxmipriya at 2011-05-02 02:36:36

8. It may be good ,when you stressed on the point why
View Tutorial          By: Kishore Mylavarapu at 2011-05-25 01:28:50

9. It seems like your getConnection doesnt recognize
View Tutorial          By: Partha at 2009-11-28 11:32:53

10. Typecasting concept helped me alot in solving my p
View Tutorial          By: Arun at 2010-09-02 00:23:38