Type used in parameterized class using it as argument to new constructor

In reply to dave_59:

I wanted to pass parameters as variables instead constants so it is not possible using parameterized class and I led to take it as overriding new constructor.