Write the generic class Pair<K, V> holding a key of type K and a value of type V, both set by the constructor.
Pair<K, V>
K
V
Two independent type parameters: the program prints age and then 30.
age
30