Which of the following statements is correct?
A A constructor can be used to set default values and limit instantiation.
B C# provides a copy constructor.
C Destructors are used with classes as well as structures.
D A class can have more than one destructor.
Answer:A
Which of the following statements is correct?
A A constructor can be used to set default values and limit instantiation. B C# provides a copy constructor. C Destructors are used with classes as well as structures. D A class can have more than one destructor.