Extracting the current state of an object Clearing the state of an object Both 1) and 2)
Extracting the current state of an object
Clearing the state of an object
Both 1) and 2)