Where do you assign a value to listsize? Add the following statement immediately after every statement in the code that changes the value of listsize:
System.out.println("listsize="+listsize);
...
Type: Posts; User: Norm
Where do you assign a value to listsize? Add the following statement immediately after every statement in the code that changes the value of listsize:
System.out.println("listsize="+listsize);
...
What variable prints out the value of 0?
Where is that variable given a value? Add a println statement after every place the value of that variable changes to see if it is getting the correct value.