Nothing happens, because you do not print the output of evenOdd to the console.
System.out.print(evenOdd(number));
instead of only
evenOdd(number)
should work. Or you can make sure that it prints in evenOdd instead of returning the output, that's also an option.