Consider the following methods, which appear in the same class.
public int function1(int i, int j)
{return i + j;}
public int function2(int i, int j)
{return j - i;}
Which of the following statements, if located in a method in the same class, will initialize the variable x to 11?
A int x = function2(4, 5) + function1(1, 3);
B int x = function1(4, 5) + function2(1, 3);
C int x = function1(4, 5) + function2(3, 1);
D int x = function1(3, 1) + function2(4, 5);
E int x = function2(3, 1) + function1(4, 5);


Answer :

Go Question: Other Questions