fork(1) download
class Test {
    private final int myValue;
    
    public Test() {
    	this.initMyValueBitchPlz();
    }
    
    private void initMyValueBitchPlz() {
    	this.myValue = 666;
    }
	
	public static void main (String[] args) {
		System.out.println(new Test().myValue);
	}
}
Compilation error #stdin compilation error #stdout 0s 0KB
stdin
Standard input is empty
compilation info
Main.java:9: error: cannot assign a value to final variable myValue
    	this.myValue = 666;
    	    ^
1 error
stdout
Standard output is empty