I know this is fairly simple topic, but I really want to wrap my head around it.
This is what I\'m trying to do, but it doesn\'t like the final modifier. Is there an
You can set later a global final Variable only in your constructor. Example:
public class ClassA { private final long mID; public ClassA(final long mID) { this.mID = mID; } }
In this case in each constructor you have to initialize the final variable.