Assume that there is a reference to an object of type Customer, in a variable called john_doe. Invoke the method, using this reference as your argument.

LANGUAGE:  JAVA

CHALLENGE:

Assume that dataTransmitter is a variable that refers to an object that provides a method, named sendObject.
There is one argument for this method, a reference to a Customer object.

Assume that there is a reference to an object of type Customer, in a variable called john_doe.
Invoke the method, using this reference as your argument.

SOLUTION:


dataTransmitter.sendObject(john_doe);