If the caller of the method has the values, then passing them as parameters would be the way to do it.
You'll probably want to define it as a class variable, so you can use it in different...
Type: Posts; User: Norm
If the caller of the method has the values, then passing them as parameters would be the way to do it.
You'll probably want to define it as a class variable, so you can use it in different...
Where are the variables that hold the values you need? If they are in the Interest class, then you need a reference variable that points to an instance of the Interest class so you can call the...
Please edit your code and add code tags to preserve the formatting.
See: BB Code List - Java Programming Forums
Are the variables with the needed values at the class level of scope or are they...