field in Java

Class fields are variables within a class.
```
public class C {
  int x = 5;
  int y = 3;
}
```
You can access fields by creating an object of the class, and by using the dot syntax (.).
You can also modify fields values, or override existing values.
If you don't want the ability to override existing values, declare the attribute as final.
If you create multiple objects of one class, you can change the fields values in one object, without affecting the fields values in the other.