1.

What Is Static Field ?

Answer»

A STATIC FIELD is a class field, which means that its data is STORED in one location in memory, no matter how many objects are created from its class. In FACT, you can use a static field to keep track of how many objects have been created from a PARTICULAR class.

A static field is a class field, which means that its data is stored in one location in memory, no matter how many objects are created from its class. In fact, you can use a static field to keep track of how many objects have been created from a particular class.



Discussion

No Comment Found