Thanks for that. The code posted is obviously a small example and part of a bigger program.
If those values represent something persistent about the MyTest instance that is relevant to a number of methods
That is correct they will be used in a number of methods and (I haven't included this in the example for brevity) their value comes from a user input, so the idea is that users type in the value and then I do whatever check is needed, which actually involves several methods testing those values. The values of the variables stay the same for quite awhile, surely till after all the checks have been made and then (everything will be in a loop) users are asked to input another 2 values for the same variables and it all starts again till the condition used in the loop become false or something like that.
So based on what you said, I think that it will be best to use setter and getters rather than passing parameters. Somehow it felt more right to pass the values as parameters, I don't know why just a feeling, but I will go with the suggestion