Given the following method class passing Argument, which of the method calls would be true? 1 public class passingArgume
Posted: Sun Jul 03, 2022 12:00 pm
Given the following method class passing Argument, which of the method calls would be true? 1 public class passingArgument { 2 3 4 displayValue (a,b); 5 } 6 //Lpublic static void displayValue (int x, 7 // public static void displayValue (short) 8 // public static void displayValue (short 9 // public static void displayValue (long System.out.println (x+y); 10 11 12 ) } public static void main(String args[]) { short a-10; long b-20; int y) { x, byte y) { x, long y) { x, byte y) {