I am very new to Java.
I have a List called siteList, which has about 65 objects of type Site. I have a for loop in which I wish to iterate through the List and call a function (test) from each Site object. I'm but quite sure how to do this. So far I have:
The compiler states that it cannot resolve symbol for test. Any suggestions?Code:
for (int i=0;i<siteList.size();i++)