function to return a variable of type of another class
<p>I need a function to take a name and return the details of the record associated with that name.How do i do this? I have all the info. in my result set, but i need a way to pass it to one variable and return the value in java. I am using eclipse-juno under CentOS</p>
