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



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. Good one......
Thanks.

View Tutorial          By: Suresh at 2013-03-14 07:38:45

2. Thank you very much for explaning the things in su
View Tutorial          By: Sunil Yadav at 2010-05-27 04:04:31

3. Hii I m Ravi. This is a good example.
Here

View Tutorial          By: Ravi at 2011-02-17 09:09:06

4. very good example....but not explained well, begin
View Tutorial          By: ashish at 2012-06-06 17:34:57

5. hi..dud.......
please help me in my proj

View Tutorial          By: amar usakoyal at 2010-05-25 03:31:16

6. constructors are not to be called. when you make a
View Tutorial          By: niyati at 2011-05-28 07:57:52

7. Realy good one
View Tutorial          By: Sabir at 2011-10-25 12:08:43

8. I am still going through the tutorial, but it seem
View Tutorial          By: shadowwraith at 2011-06-08 08:00:57

9. how to implement stack with using vector class
View Tutorial          By: anamika at 2015-08-25 18:58:29

10. Useful info
View Tutorial          By: valli at 2014-10-27 10:56:58