If I were you, I would give the variables a decscriptive name so you know what you are working with.
The reason you are getting the same output 11 times is because the value printed never changes...
Type: Posts; User: JavaPF
If I were you, I would give the variables a decscriptive name so you know what you are working with.
The reason you are getting the same output 11 times is because the value printed never changes...
Please show us you have attempted to write a class and we can take it from there.