Salve ragazzi, sono negato con questo linguaggio , questo è il pezzo di codice:

Codice PHP:

 
public String prestito (String prestito){
 
connetti();
Message();
                          
                        
                        
StringTokenizer st = new StringTokenizer(prestito,";");
                              
                        
int codice_della_sede Integer.parseInt(st.nextToken());
                        
String operazione st.nextToken();
                        
float importo Float.parseFloat(st.nextToken());
                        
int durata Integer.parseInt(st.nextToken());
                        
int anno Integer.parseInt(st.nextToken());
                        
int tipo_contratto Integer.parseInt(st.nextToken());
                        
String nome st.nextToken();
                        
String cognome st.nextToken();
                        
String cf st.nextToken();
 try{
 
PrintWriter manda = new PrintWriter(cs1.getOutputStream(),true);
    
manda.println("cf");
    
manda.println(cf);
 
BufferedReader  ricevi = new BufferedReader(new InputStreamReader(cs1.getInputStream()));
String    risp =  ricevi.readLine();      
 
 
 }catch(
IOException ioe){
      
System.out.println("Errore di IO");
      
System.exit(1);      
    }
  return 
risp;
 
 } 
ottengo questo errore:

cannot find symbol
symbol : variable risp
return risp;


Come faccio a passare quello che ottengo da : String risp = ricevi.readLine();
a return risp; ??? perché così è come se non lo vede,