I can’t recall how to do below example. I forgot X(
so if a collection SEASON has four elements, { spring, summer, fall, winter }
You could directly access to these elements by…
SEASON.spring or,
SEASON.summer… and so on.
also you could do below example at the same time
SEASON[1]
SEASON[2] and so on…
SEASON is not a class. It is some kind of variable.
I will thank you for any guide you provide 😀
If they are always in the same position, you could do :
Example of accessing one of the seasons by :