Thank you JavaPF for your replay, I really need your help. No we don't take an input from the user. The size of the array is already initialized which is 8.
We make an object bag, then we put...
Type: Posts; User: k_w_r2007
Thank you JavaPF for your replay, I really need your help. No we don't take an input from the user. The size of the array is already initialized which is 8.
We make an object bag, then we put...
The idea is to create a Class named Bag that carry fruits of type String, and have different methods like putItem which takes the fruit and put it inside the bag, getItem which randomly pick the...