printLarger is a method that accepts two int arguments and returns no value.

printLarger is a method that accepts two int arguments and returns no value.

LANGUAGE: JAVA

CHALLENGE:

printLarger is a method that accepts two int arguments and returns no value.

Two int variables , sales1 and sales2, have already been declared and initialized.

Write a statement that calls printLarger, passing it sales1 and sales2.

Assume that printLarger is defined in the same class that calls it.

SOLUTION:

printLarger (sales1, sales2);

Add comment