A member variable is created when a class instance is created,
and it is destroyed when the object is destroyed.
publicclass MainClass {
privateint fieldVariable;
publicstaticvoid main(String[] argv) {
System.out.println();
}
}
1.20.Member Variable
1.20.1.
Field Variables are variables that are declared as members of classes.