Classes And Objects In C Sharp - Study Mode
[#106] When we call a constructor method among different given constructors. We match the suitable constructor by matching the name of constructor first, then the number and then the type of parameters to decide which constructor is to be overloaded. The process is also known as?
Correct Answer
(C) Polymorphism
[#107] Which method has the same name as that of its class?
Correct Answer
(C) constructor
[#108] Wrong statement about run time polymorphism is?
Correct Answer
(C) An abstract inherited property cannot be overridden in a derived class
[#109] Which of the following statements are correct?
Correct Answer
(D) Both There is one common garbage collector for all programs & To garbage collect an object set all references to it as null
[#110] Correct statement about constructors in C#.NET is?
Correct Answer
(D) All of the mentioned