Given: class X {} class Y { Y ( ) { } } class Z { Z (int i ) { } } Which class has a default constructor? By Singh | January 7, 2023 0 Comment Given:class X {}class Y { Y ( ) { } }class Z { Z (int i ) { } }Which class has a default constructor? A. X, Y and Z B. X and Z C. X only D. Y only E. X and Y F. Y and Z G. Z only Correct Answer: C