1
Answer

accessing arraylist of objects inside a class

mallik mallik

mallik mallik

17y
2.1k
1

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)