The following code has a call to the showValue method.
int x = 8;
showValue(int x) // Error!
Where's the semicolon and you just need x not int x...
int x = 8;
showValue(x);
It seems to be missing a semicolon.
public static void showValue(int x)
The following code has a call to the showValue method.
int x = 8;
showValue(int x) // Error!