Hi guys.
I'm trying to class a function from a class. But, there's an error and i can't find it. Can you please help me find what is wrong with the way i'm calling the function. I commented on the error, it's in the main function at case 2. Please help. Thank you very much.
Your default constructor sets numberOfInbox to zero. Consequently, in the for loop on line 51 in the condition a<object.getNumberOfInbox()a=0 and object.getNumberOfInbox()=0 so the condition is false at the very beginning of the loop and hence the loop is never executed at all.