Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class VendIt_P4 {
- public static void main(String[] args)
- {
- try
- {
- VendCustomer vOrder = new VendCustomer();
- vOrder.displayWelcomeMsg();
- VendCustomer vCust = new VendCustomer();
- //vCust.getVendCustInfo1();
- vCust.getVendCustInfo2();
- vCust.getVendType();
- vCust.displayOutputMsg();
- vCust.fileWrite();
- }
- // Catch any NullPointer Exception Error
- catch (NullPointerException error)
- {
- System.out.println("Caught the NullPointerException Error");
- System.exit(0);
- }
- }
- }
Add Comment
Please, Sign In to add comment