Assume that the following method header is for a method in class A.public void displayValue(int value)Assume that the following code segments appear in another method, also in class A. Which contains a legal call to the displayValue method?Select one:a. int x = 7; displayValue(int x);b. int x = 7; displayValue(x)c. int x = 7; void displayValue(x);d. int x = 7; displayValue(x);