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
-
FullAdder()
- Constructor of Fulladder.
-
toString()
- return the name of a circuit
FullAdder
public FullAdder()
- Constructor of Fulladder.
Initialize and connect the wire between gates.
toString
public String toString()
- return the name of a circuit
- Returns:
- the String "FullAdder"
- Overrides:
- toString in class Object