Sei sulla pagina 1di 1

1) There are 3 classes A, B and C. B is inherited from A and C is inherited from B. Class A has a virtual method (for e.g.

Print method). Class B has metho d using new and Class C is overriding it.

2) 3) 4) 5) 6) 7) 8) 9) 10) 11) 12) 13) 14) 15)

Will it compile? Will there be an error? When do you use new ?

What is method hiding? What is the difference b/w interface and abstract class? What is the difference b/w delegate and event? What is the return-type of multi-cast delegate? What encapsulation and data hiding? When a web request is sent, how does IIS process it? What does viewstat do? Does it have any disadvantage? How many web config files can be used in a application? What are the different types of config files? What is the difference between web project and website? What steps would you execute to implement dll files? What is a static constructor? What is the difference b/w string and string builder? Why should we use string builder for authorization?

Will the code wor ?

Potrebbero piacerti anche