InwhichtwocasesdoesthecompilersupplyadefaultconstructorforclassA?() A.classA{}B.classA{publicA(){}}C.classA{publicA(intx){}}D.classZ{}classAextendsZ{voidA(){}}
InwhichtwocasesdoesthecompilersupplyadefaultconstructorforclassA?()
A.classA{}
B.classA{publicA(){}}
C.classA{publicA(intx){}}
D.classZ{}classAextendsZ{voidA(){}}