after compilation of progra files, following error messages were shown on command prompt.identify the causes for those specific errors.
i) System.out.println("No of items:"tooa1Item);
ii) Testing.java:10:cannot find symbol
Location:class Testing Symbol:variable count
It seems that you haven't declare a variable named count and in System.out.println() statement, you have written wrong syntax.
System.out.println("No of items:"+tooa1Item);
After the modification, if you found error then post your code.