The code you have never initialize the integers so you cant use them in your code.
You should give them a value before you use them.

And i noticed too that you called your class "new" which is a...