Write the code for invoking a method named sendObject. There is one argument for this method which is of type Customer. Assume that there is a reference to an object of type Customer, in a variable called John_Doe. Use this reference as your argument.

LANGUAGE: JAVA

CHALLENGE:

Write the code for invoking a method named sendObject. There is one argument for this method which is of type Customer.
Assume that there is a reference to an object of type Customer, in a variable called John_Doe. Use this reference as your argument.
Assume that sendObject is defined in the same class that calls it.

SOLUTION:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,