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. (i'm a senior PHP programmer, but a newbie in JSP,
View Tutorial          By: LOL at 2013-03-22 08:57:21

2. to get more and clear information about java progr
View Tutorial          By: SWARNA at 2010-09-13 04:23:10

3. //Convert numbers to word as per Indian number sys
View Tutorial          By: Abhishek at 2011-09-05 10:42:20

4. Your program contains only data retrieval command.
View Tutorial          By: Govindarajan at 2012-02-08 01:02:01

5. It tried this app... It's working fine... really a
View Tutorial          By: Prakash at 2012-01-04 06:33:12

6. you can put the a loop for multiple extension
View Tutorial          By: Arun at 2012-12-07 05:23:47

7. I have writtent this code in my jdbc program,

View Tutorial          By: yeshdeep kumar at 2014-11-12 07:46:46

8. sir , i am new in j2me and i want to learn more s
View Tutorial          By: vipin Luhach at 2012-01-19 06:43:27

9. simply nice.. Thank you.
View Tutorial          By: Anil at 2011-11-30 06:36:23

10. The code gives the following exception :-
<

View Tutorial          By: anju at 2014-03-15 07:02:18