(Mar-08-2017, 04:18 AM)Larz60+ Wrote: Please be more specific on your requirements.
Already I am giving you the entire details. By the way my problem was solved. Credit goes to StackOverflow. Anyway Thanks...
(Mar-08-2017, 07:08 AM)buran Wrote: Also, there is problem with the indentation of your code. Please, fix it.
Sir, there is no indentation problem in my program. By the way my problem was solved. Credit goes to StackOverflow. Anyway Thanks...
(Mar-08-2017, 10:04 AM)merlem Wrote: The problem is the position of the second line.
In this way, *all* instances of the class will share the same array. So, the array of the second one starts with the same elements as the array of the first one, as they are set for all instances.
Shift the line to the start offill
and try what happens.
Sir, its not the solution which you told me. By the way my problem was solved. Credit goes to StackOverflow. Anyway thanks.