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. Thanks for the description. Am loading my actionse
View Tutorial          By: sridevi at 2012-01-13 10:15:40

2. its easy to understand your example in overloading
View Tutorial          By: rovie at 2011-09-07 02:41:12

3. practical example of funcation overloding
View Tutorial          By: yogesh at 2010-12-19 08:39:06

4. very nice content
View Tutorial          By: sarat at 2012-08-22 12:17:26

5. After a great struggle I am able to successfully c
View Tutorial          By: raghu at 2012-01-04 15:10:07

6. Thanks.
View Tutorial          By: Joe at 2011-12-07 11:41:14

7. You should give more specification on exactly whe
View Tutorial          By: Abhijit at 2013-03-09 20:14:21

8. i have a problem ie., Animal is the super class an
View Tutorial          By: renuka at 2012-08-29 15:08:33

9. The !isset() is basically checking if the string i
View Tutorial          By: Bijan at 2012-09-21 20:49:41

10. Excelent sample, I'm disagree with Anon, the sampl
View Tutorial          By: Gerardo Saldívar at 2009-09-21 15:25:01