B 2.3.4 Worksheet - Java
Write code to call the following functions with the given arguments and print the results (if applicable). 1. public static int addNumbers(int a, int b) Arguments: a = 5, b = 10 2. public static void printMessage(String message) Argument: message = "Hello, Java!" 3. public static boolean isOdd(int num) Argument: num = 7 4. public static char getLastCharacter(String str) Argument: str = "Computer Science" 5. public...