Given the following method class passing Argument, which of the method calls would be true? 1 public class passingArgume
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am
Given the following method class passing Argument, which of the method calls would be true? 1 public class passingArgume
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) {