Req any Recursion programming Book or intro book

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Greets,

I would like to access individual records and fields using an arraylist is this possible with arrarylist or must I use an array?

Example:
Populated arraylist
Name: Age: Ht:
john 12 72
Sally 33 55
ben 23 90

I'm trying to do this Arraylist.Age.(1) would give me '33'

Tia
 
Greets,

I would like to access individual records and fields using an
arraylist is this possible with arrarylist or must I use an array?

Example:
Populated arraylist
Name: Age: Ht:
john 12 72
Sally 33 55
ben 23 90

I'm trying to do this Arraylist.Age.(1) would give me '33'

Why not use a Datatable?

Or you could add objects to the array list instead.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top