the bounds of cardinality about constantweight optical orthogonal codes variableweight optical orthogonal codes and a diffference matrix method for obtaining the autoand crosscorrelation of two codes.It also gives comparision about cardinality and constructions among of several OOC’s mentioned above.