In the example below, a generic Window class is substituted in a particular environment by the Resizable Window class.

randomness