I want to make n instance of one class and manipulate its variables. For example I have Class A that contain variables and i have n instance of this class with b as an object and c as variable d as value
A b_1 = new A()
A b_2 = new A()
A b_n = new A()
I want to make a loop that do this:
for ( int i=1; i<n; i++) {
b_n.c =d
}