Set - 5

Question 21 :

Which control cannot be placed in MDI?

Answer :

The controls that do not have events.


Question 22 :

What is the difference between proc. sent BY VAL and BY SUB?

Answer :

BY VAL: changes will not be reflected back to the variable.
By REF: changes will be reflected back to that variable.( same as & symbol in c, c++)


Question 23 :

Does C# support multiple-inheritance?

Answer :

No.


Question 24 :

Who is a protected class-level variable available to?

Answer :

It is available to any sub-class (a class inheriting this class).


Question 25 :

Are private class-level variables inherited?

Answer :

Yes, but they are not accessible. Although they are not visible or accessible via the class interface, they are inherited.