Evaluate. Which statement must be true for the code to compile and run correctly? public class B : A { public B(int i) :base(i) { } }
1.One of the constructors in the class A takes an argument of the type int
2.One of the constructors in the class A takes an argument of the type I, and the class has only a default constructor
3.One of the constructors in the class A takes an argument of the type i
4.Class A has only a default constructor
Answer:1
Posted Date:-2022-08-15 11:17:32