Final variables in class scope must be initialized within the declaration or in the constructor. You cannot assign to a final variable in the main function unless it was declared in the main function. All final fields must be initialized. All variables must be initialized before they are used.