1.

What Is A Static Field?

Answer»

A STATIC FIELD belongs to the class itself, and is shared among all INSTANCES of that class. Changes made from instance A will be VISIBLE immediately to instances B and C if they access the field.

A static field belongs to the class itself, and is shared among all instances of that class. Changes made from instance A will be visible immediately to instances B and C if they access the field.



Discussion

No Comment Found