public class Foo
{
static final int x = 12;
public void go(final int x)
{
System.out.println(x);
}
}
Why the above code is compiled successfully, even though the final int x variable is not initialized in the argument list of go method.
Java 5.0 says that a final variable should always be initialized.