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. Fantastic tutorial...
very help full to me

View Tutorial          By: venkat b at 2013-05-30 17:16:04

2. but include<iostream> is main function.
View Tutorial          By: glen at 2009-02-03 22:19:22

3. I got Error...Why it is happen..??


View Tutorial          By: Dineth at 2011-07-15 16:54:31

4. Hi,

Your COM port is currently in u

View Tutorial          By: Ramlak at 2008-04-14 07:29:55

5. Your post was very informative... Thanks a lot. My
View Tutorial          By: Rohit Shaw at 2010-04-12 04:29:02

6. i have a error while i running this program

View Tutorial          By: parul at 2012-02-08 15:40:09

7. why 27's example is prone to a deadlock ? when pro
View Tutorial          By: kaka at 2011-08-14 00:59:41

8. Hi Mounika, The reason to the problem is that you
View Tutorial          By: Ramlak at 2008-04-26 20:06:21

9. I have successfully send sms after some trying....
View Tutorial          By: DILIP at 2012-01-19 14:38:50

10. are you have java code to read sms from gsm modem,
View Tutorial          By: ronized at 2009-01-01 20:36:24