Tiên Hương
New member
What is the output of the given statement?
A. And-box
B. Or-box
C. Not-box
D. None of the mentioned
Code:
* (defclass constraint () ((name :accessor constraint-name :initarg :name)
(output :accessor constraint-output)))
* (defclass binary-constraint (constraint) ((input :accessor constraint-input)))
* (defclass ternary-constraint (constraint) ((input-a :accessor constraint-input-a)
(input-b :accessor constraint-input-b)))
* (defclass not-box (binary-constraint) ())
* (defclass or-box (ternary-constraint) ())
* (defclass and-box (ternary-constraint) ())
B. Or-box
C. Not-box
D. None of the mentioned