Classes And Objects In C Sharp - Study Mode
[#71] In C#, what is the method used to explicitly release resources allocated by an object?
Correct Answer
(B) Dispose
[#72] What is the access modifier used to declare a class member that is accessible only within its own class and any class derived from it in C#?
Correct Answer
(C) protected internal
[#73] In C#, which keyword is used to explicitly call a base class constructor from a derived class constructor?
Correct Answer
(D) base
[#74] In C#, what is the method called automatically when an object is created to initialize the object's state?
Correct Answer
(A) Constructor
[#75] What is the concept in OOP that allows a class to have more than one constructor in C#?
Correct Answer
(D) Constructor Overloading