Assume that logger is a reference to an object that has a method named printErrorDescription, that accepts one int argument and returns no value . Write a statement that invokes the method printErrorDescription, passing it the value 14.

LANGUAGE: JAVA

CHALLENGE:
Assume that logger is a reference to an object that has a method named printErrorDescription, that accepts one int argument and returns no value.

Write a statement that invokes the method printErrorDescription, passing it the value 14.

SOLUTION:

LANGUAGE: JAVA

CHALLENGE:
Assume that logger is a reference to an object that has a method named printErrorDescription, that accepts one int argument and returns no value.

Write a statement that invokes the method printErrorDescription, passing it the value 14.

SOLUTION:

logger.printErrorDescription (14);