logicGate_class Logic gate operation will be defined in a class with inheritance Here is the gates defined in this class AND OR XOR XNOR NAND BUFFER INV