I was wondering how you recall a method for a case/switch statement. Here's the code I need filled in, thank you. The bold words are my methods.
Code:
switch(CustomerType)
{
case 'r':
case 'R': regularBill;
System.exit(0);
break;
case 'p':
case 'P': premiumBill;
System.exit(0);
break;
default: JOptionPane.showMessageDialog(null,"Invalid customer type.","Error",JOptionPane.PLAIN_MESSAGE);
System.exit(0);
}