Classes And Objects In C Sharp - Study Mode

[#101] The data members of a class by default are?
Correct Answer

(C) private

[#102] The capability of an object in Csharp to take number of different forms and hence display behaviour as according is known as . . . . . . . .
Correct Answer

(B) Polymorphism

[#103] What is the most specified using class declaration?
Correct Answer

(C) type & scope

[#104] Given class sample is inherited by class sample 1. Which are the correct statements about construction of object of class sample?
Correct Answer

(C) While creating the object firstly constructor of class sample 1 will be called followed by constructor of class sample

[#105] Arrange the following overloaded operators in increasing order of precedence? %, <<, &, /, +
Correct Answer

(B) '<<' < '&' < '%' < '-' < '/' < '+'