If a value is only used once and it is no "magic" number/string but just a random value it is unnecessary to declare a variable for it. And if you want a variable, just declare a local variable instead of a class variable.