Search:

Type: Posts; User: jim829

Search: Search took 0.15 seconds.

  1. Re: Actual and formal argument lists differ in length Error

    I am unfamiliar with your classes but some of this looks strange.


    public void phoneCall()
    {
    Gadget mobPhone = Devices.get(getDisplayNum());
    if (getDisplayNum() != -1 &&...
  2. Re: Actual and formal argument lists differ in length Error

    It tells you right there. The phoneCall method does not expect any arguments. But you are calling it like this.


    phone.phoneCall(getDisplayNum(), getDuration());

    It should be called like...
Results 1 to 2 of 2