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. In TimeServer eif = service.getPort(TimeServer.cla
View Tutorial          By: Vijay at 2015-02-01 08:59:19

2. Very nice.
Thanks

View Tutorial          By: Kaviya at 2015-02-23 13:48:15

3. HOW DO I FIND MY COMM PORT NAME SO THAT I CAN SPEC
View Tutorial          By: RUTUJA at 2013-10-01 18:27:59

4. JSF's Advantage(3rd point):
"...events

View Tutorial          By: Amit at 2011-07-01 09:38:12

5. Really awesome keep posting ........
View Tutorial          By: viswanath at 2013-01-30 07:38:13

6. what items do i add?
View Tutorial          By: Camo at 2015-09-30 23:02:10

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

8. Good example thank you so much
View Tutorial          By: Albadri at 2011-05-14 15:48:17

9. Its very useful to me
View Tutorial          By: suba at 2011-07-04 11:21:19

10. i need help in writing code for multiplication pro
View Tutorial          By: viswanath at 2013-02-23 14:13:40