Given the interface you created in the last lesson:
public interface IAccount { void placeOrder(Order o); }
Update PersonAccount
to implement the IAccount
interface. You can refer back to the Interface Syntax Rules if needed.
Given the interface you created in the last lesson:
public interface IAccount { void placeOrder(Order o); }
Update PersonAccount
to implement the IAccount
interface. You can refer back to the Interface Syntax Rules if needed.