Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class Check{
- public static void main(String[] args){
- MailBox box = new MailBox();
- Mail m1 = new Mail();
- Mail m2 = new Mail();
- Mail m3 = new Mail();
- m1.deliver();
- m2.deliver();
- m3.deliver();
- box.reveive(m1.numberofmail, m1.name, m1.address);
- box.receive(m2.numberofmail, m2.name, m2.address);
- box.receive(m3.numberofmail, m3.name, m3.address);
- box.total();
- }// end of main
- }//end of class
Add Comment
Please, Sign In to add comment