Question: 2 . ( 1 0 pts . ) Given the following code: ` ` ` int z = 7 ; int k = 2 ;
pts Given the following code:
int z ;
int k ;
public void fint x int y
int k ;
y k;
z y k;
public static void mainString args
fz k;
System.out.printlnz;
System.out.printlnk;
what would the output be if the parameters were passed using a call by value?
b call by reference?
c call by valueresult?
d call by macro expansion?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
