accessing arraylist of objects inside a class

Sep 15 2007 4:08 AM

hai..

im havin 2 classes :classA ,classB

classA contains arraylist...

objects of classB are added into the arraylist in ClassA..

how can I access properties of classB  from arraylist in classA

 

for ex. i tried this...

classA.classB[0].property ...its not working!!!


Answers (1)