Class FullAdder

java.lang.Object
   |
   +----Circuit
           |
           +----FullAdder

public class FullAdder
extends Circuit
A class that composed of XorGate*2,AndGate*2,OrGate*1.

See Also:
XorGate, AndGate, OrGate

Constructor Index

 o FullAdder()
Constructor of Fulladder.

Method Index

 o toString()
return the name of a circuit

Constructors

 o FullAdder
 public FullAdder()
Constructor of Fulladder. Initialize and connect the wire between gates.

Methods

 o toString
 public String toString()
return the name of a circuit

Returns:
the String "FullAdder"
Overrides:
toString in class Object