Assume that dataTransmitter is a variable that refers to an object that provides a method, named sendNumber. There is one int argument for this method. Invoke this method and use the number 5 as an argument.

Assume that dataTransmitter is a variable that refers to an object that provides a method, named sendNumber. There is one int argument for this method. Invoke this method and use the number 5 as an argument.

LANGUAGE: JAVA

CHALLENGE:
Assume that dataTransmitter is a variable that refers to an object that provides a method, named sendNumber. There is one int argument for this method. Invoke this method and use the number 5 as an argument.

SOLUTION:

dataTransmitter.sendNumber (5);

Add comment