Or.java 446 Bytes
public class Or extends Porte2Entrees{
    /* void run(){
	s=in1 || in2;
    }
    void display(){
    }*/

    /*public boolean getEtat() throws NonConnecteException {
	if ((in1 == null) || (in2 == null)) {			
	    throw new NonConnecteException();		
	} else {
	    s=(in1.getEtat() || in2.getEtat());
	    return s;		
	}		
	}*/

    public boolean eval() throws NonConnecteException{
	return  (in1.getEtat() || in2.getEtat());  		
    }
    
}