I have one more question. Using classes for config or xml which one is better?
Everytime after the while loop vaule of ic is 10. Can anyone explain this please?