You left out so many details that your code is uncompilable.

What's the point of a constructor that takes two arguments and doesn't do anything with them? Recommended reading: Providing...