The environment class allows you to get or set the value of environment variables. The following example gets, sets and resets the environment variable TEST.