The main method should display the result of the calls, each time on a new line. convertEurToUsd(50 , 2.5); // system.out.println(dollars); this statement is not working as dollars is not defined.