Logical Circuit Java
<p>I was given a project that sounds like this:</p>

<blockquote>
  <p>Consider a set of logical gates like AND, OR, XOR or NOT. Allow for building any logical circuit by connecting such gates.As well as that, provide input (0/1) to a number of gates and collect the results at the output of some of the gates. Be able to read the description of the circuit from a file.</p>
</blockquote>

<p>How can I do this, what would you do? I haven't tried anything, don't know where to start or where to end. Would appreciate help shaping it. I am looking for any help as much as possible, open to hints and solutions, anything to the subject is helpful.Thanks.</p>
