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. Before i had lot of doubts in abstract class... no
View Tutorial          By: Mohandoss at 2012-04-02 05:08:43

2. Hey..can anyone please tell me how to run linux co
View Tutorial          By: ahmed at 2008-09-05 10:22:52

3. Great work... keep it up :)
View Tutorial          By: Kushan at 2010-07-05 23:36:12

4. Thanks :) It works for me :)
View Tutorial          By: Milind at 2011-12-07 10:05:23

5. Dude how did you used out.print() method it is giv
View Tutorial          By: Hardik at 2013-02-18 15:37:09

6. Thanks for the example taken directly from the Jav
View Tutorial          By: Lewis Chase at 2013-09-24 23:39:21

7. Thanks man it is very very helpfull for me.

View Tutorial          By: qasim azam at 2011-06-15 18:09:35

8. How can I store a file in device internal memory a
View Tutorial          By: Fabio at 2014-11-20 11:25:41

9. CAN I ASK A FORMULA OF FOR MAKING A CALCULATOR USI
View Tutorial          By: JUNER at 2011-08-17 03:33:02

10. Hello,

Can you please send me the c

View Tutorial          By: criz at 2007-10-16 21:06:30