Hi All,
I have an issue trying to return the result from the method below and I am hoping that somebody might be able to spare a little time to assist me.
I have a standard pojo Customer class with three instance variables, constructors, setters and getters
I have created a vector called CustomerVector and populated it with customers.
I want to iterate through the vector to find the customer object that has the same customerId as the int that is passed into the method.
However when I try to return the result the return statement can not see the result
String.
Any help to get around this issue would be greatly appreciated
Thanks in advance
Nigel