Set - 6

Question 11 :

Does C# support multiple inheritance?

Answer :

No, use interfaces instead.


Question 12 :

Can multiple catch blocks be executed?

Answer :

No, once the proper catch code fires off, the control is transferred to the finally block (if there are any), and then whatever follows the finally block.


Question 13 :

Can you override private virtual methods?

Answer :

No, moreover, you cannot access private methods in inherited classes, have to be protected in the base class to allow any sort of access.


Question 14 :

What is a pre-requisite for connection pooling?

Answer :

Multiple processes must agree that they will share the same connection, where every parameter is the same


Question 15 :

What is the data provider name to connect to Access database?

Answer :

Microsoft.Access.