Comment on Tutorial - How to use ArrayList in Java By Hong



Comment Added by : Dayasagar

Comment Added at : 2010-05-22 16:18:17

Comment on Tutorial : How to use ArrayList in Java By Hong
M having query
i wat to create employee class with emp id,name,address.
i want to store some objects of this class in ArrayList. whn ian emp id is given then i should get emp's name & address.

M havng confusion tht ArrayList stores 1 object only thn how can V retrieve String's also wid tht Integer object.

reply me fast


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. It would he helpful to know difference between a l
View Tutorial          By: Tosh at 2012-04-28 18:00:20

2. this is i got error msg when i run a my program .
View Tutorial          By: anbu at 2009-04-08 02:41:17

3. Thanks for the clear illustration of the MVC2 arch
View Tutorial          By: Tayo at 2010-01-03 12:53:46

4. i have created a listview and i have a button in t
View Tutorial          By: prateek at 2013-05-19 18:52:47

5. I want simple programs using BuffuredReader for m
View Tutorial          By: Why ask my name? at 2013-06-01 04:56:00

6. great, thnak you very much !!!!
View Tutorial          By: geek at 2014-05-11 00:10:32

7. Sir please can you tell me that how can i find occ
View Tutorial          By: Saad at 2013-01-20 11:14:39

8. Hi,.
No Change yaar, Im still getting the s

View Tutorial          By: Dinesh Rajendiran at 2012-03-23 05:19:06

9. I want de total main prg to send and receive... se
View Tutorial          By: sharu at 2011-09-12 16:49:24

10. how about soting you word? like your output will b
View Tutorial          By: fury_2623@yahoo.com at 2011-01-27 16:40:51