Salve, sto iscrivendo un prigrammino che prenda in ingresso tramite "in.readlLine" due valori string: T che sta per True e F che sta per FALSO.
Dunque, mi sembra di nonavrer tralasciato nulla, ma sono alle prime armi con Java.
Il codice è composto da due file. ClsBoolean e ProvaBoolean: Ma intanto vorrei capire gli errori della classe
seguono le righe di codice con gli errori accanto come comenti.

// ClsBoolean
public class ClsBoolean {

private String Enter;


public ClsBoolean(String x){

Enter = x;

}

public String toString() {
if(Enter == t) // cannot find symbol symbol : variable t location: class ClsBoolean if(Enter == t)

return "Il primo valore e' TRUE";
if (Enter == f) // cannot find symbol symbol : variable t location: class ClsBoolean if(Enter == f)
return "Il secondo valore e' FALSE";
else
return "Valori ammessi sono T o F";
}


public String ANDtoString(String a){
String x= this.Enter;
String y= a.Enter; //cannot find symbol symbol: variable Enter String y= a.Enter;
return "!("+x+"&&"+y+")";
}

public String ORtoString(String b ){
String x= this.Enter;
String y= b.Enter;//cannot find symbol symbol: variable Enter String y= b.Enter;
return "!"+x+"||"+"!"+y;

}


}