设计一个数组类MyArray,重载【】操作,数组初始化时,对数组的个数进行有效检查。 1、index<0 抛出异常eNegative 2、index=0抛出异常eZero 3、index>1000抛出异常eTooBig 4、index&l……