1 Name: VIPPER 2021-03-26 16:26
Quoted by: >>3
void acceptOrder(CustomerOrder order)
{
//Validate it
if (order.getName().length() == 0 && order.getItemNumber() == 0)
{
// Put up error message
}
// Print it
System.out.printIn("Order: " + order.getId());
System.out.printIn("Name: " + order.getName());
System.out.printIn("Items:");
for (OrderItem item : order.getItems())
{
System.outprintIn(" - " + item);
}
// Save it
DbConnection conn = openDbConnection();
conn.saveOrder(order);
conn.close();
}
Me holding the lasso of truth !
You can see everything LOL are you ready for this ???
http://www.cartoonxxxpic.com/g/super-heroines-4/5