how it can be possible that we can initialize the final variable of the class at the creation time of the object ?
Anybody can explain it how is it possible ? ...<
Why not. Like this
public class GenericFoo{ final int var; GenericFoo(){ var = 100; } }