adplus-dvertising
frame-decoration

Question

What is the output of the given statement?
span class="sy0"> * (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) ())

a.

And-box

b.

Or-box

c.

Not-box

d.

None of the mentioned

Answer: (a).And-box

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What is the output of the given statement?