The code below worked. I remember a reference that the final variable can be declared, and later initalized at a specific spot. I do not recall the exact spot.
import java.*;
public class d {
//final int num; this line produced a compile time error
// since num was not referenced
public void aMethod() {final int finalarg; }
public static void main (
String args []) {
System.out.println("main");
}
}