class Banca{
  private char operazione;
  private int soldi;
  private int saldo=1000;
  //COSTRUTTORE
  public Banca(){
  }

  public int visualizzaSaldoBanca(){
    return saldo;
  }

  public void  depositaDenaroBanca(int deposito){
    this.soldi=deposito;
    saldo+=soldi;
  }
  public void  ritiraDenaroBanca(int prelievo){
    this.soldi=prelievo;
    saldo-=soldi;
  }

}

@@ -1,166 +1,645 @@
-class Banca%7B%0A  private char operazione;%0A  private int soldi;%0A  private int saldo=1000;%0A  //COSTRUTTORE%0A  public Banca()%7B%0A  %7D%0A%0A  public int visualizzaSaldoBanca()%7B
+import java.io.*;%0Aimport java.util.*;%0A%0Aclass Banca%7B%0A  private int soldi;%0A  private int saldo=0;%0A  private String no;%0A  private String codice;%0A  private File file;%0A%0A  //COSTRUTTORE%0A  public Banca(String co)%7B%0A    this.codice=co;%0A%0A  %7D%0A%0A  public int visualizzaSaldoBanca(File input)%7B%0A    String stringa;%0A    try %7B%0A      PrintWriter writer = new PrintWriter(input);%0A      writer.print(%22%22);%0A      writer.close();%0A      BufferedWriter out = new BufferedWriter(new FileWriter(input, true));%0A      stringa=String.valueOf(saldo);%0A      out.write(stringa);%0A      out.close();%0A    %7D catch (IOException e) %7B%0A      System.out.println(%22ERRORE!%22 + e);%0A    %7D
 %0A   
@@ -653,16 +653,17 @@
  saldo;%0A
+%0A
   %7D%0A%0A  p
@@ -734,16 +734,40 @@
 posito;%0A
+    String stringa=%22 %22;%0A
     sald
@@ -780,16 +780,17 @@
 di;%0A  %7D%0A
+%0A
   public
@@ -826,19 +826,30 @@
 prelievo
+,File file
 )%7B%0A
+%0A
     this
@@ -873,25 +873,471 @@
     
-saldo-=soldi;%0A  %7D%0A
+String stringa=%22 %22;%0A    if((saldo-soldi)%3C0)%7B%0A        System.out.println(%22IMPOSSIBILE COMPLETARE LA RICHIESTA:%5CnSALDO INSUFFICIENTE!%22);%0A    %7Delse%7B%0A        saldo-=soldi;%0A    %7D%0A  %7D%0A%0A%0A  public void leggiFileBanca(File file,Scanner scanner,String nome,String cognome,String id)%7B%0A      String stringa=%22 %22;%0A      while(scanner.hasNextLine())%7B%0A          stringa=scanner.nextLine();%0A          int saldod=Integer.parseInt(stringa);%0A          this.saldo=saldod;%0A      %7D%0A%0A%0A  %7D
 %0A%7D%0A

Update Banca.java