Version 1: all classes that end in 'v1' should be treated as one example program, won't compile because of type mismatch errors. Version 2: all classes that end in 'v2' should be treated as another example program. Now class 'X' and 'Y' are part of the same inheritance hierarchy.