after compilation of program files ,following error messages were showen on command prompt.identify the causes for those specific errors.
i)testing.java:8:package system does not exist.
System.out.println("No of items:"tooa1Item);
ii) Testing.java:10:cannot find symbol
Do following modifications in your code and recompile:
1)Declare declare a variable named count.
2)Do correction: System.out.println("No of items:"+tooa1Item);
After the modification, if you found error then post your code.
If you are facing any programming issue, such as compilation errors or not able to find the code you are looking for.
Ask your questions, our development team will try to give answers to your questions.