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:

sendObject(John_Doe);