1. Strong name
2. how to prevent a class from being inherited
3. delegates
4. default modifier for interface
5. default modifier for class
6. base class for exception
7. diff bet trigger and view in sql
8. how to exchange values from one page to another page
9. can multiple catch block ll be executed at same time
10. can u store different data types in an array & array list
11. when we ll use trigger
12. try,catch,finally usage

Answers were Sorted based on User's Feedback



1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier fo..

Answer / abhishek

1. Strong Name is the name that consists of an assembly's identity—its simple text name, version number,
and culture information (if provided)—strengthened by a
public key and a digital signature generated over the
assembly.

2. Make the constructor of the class as "private".

3. Delegates are the function pointers which help you to
call a function without knowing it's name. More detailed
explanation: http://www.devhood.com/tutorials/tutorial_details.aspx?tutorial_id=361

4. They all are, and must be public, by default.

5. Public.

6. Object. For more info see, http://msdn.microsoft.com/en-us/library/z4c5tckx(VS.71).aspx

7. Trigger is something which get fired when some event occurs. It is coupled/associated with an event.
A view is, in essence, a virtual table.
It does not physically exist. Rather, it is created by a query joining one or more tables.
http://www.techonthenet.com/sql/views.php

8.
9. Multiple catch blocks can't be executed at the same ,time if they are handling the same try block.

10. No we can't.
11. Refer answer of Q 7.
12. try: The code after the try clause is the guarded section of code. The throw expression throws (raises) an exception.
catch: The code block after the catch clause is the exception handler, and catches (handles) the exception thrown by the throw expression.
finally: The code in the finally part of the statement is always executed, regardless of an exception.
http://support.microsoft.com/kb/815662

Is This Answer Correct ?    0 Yes 0 No

1. Strong name 2. how to prevent a class from being inherited 3. delegates 4. default modifier fo..

Answer / hi_five462000

hope u guys know ans for des

all d best

Is This Answer Correct ?    1 Yes 3 No

Post New Answer

More OOPS Interview Questions

What are the 5 oop principles?

0 Answers  


Write a C/C++ program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the maximum number of concurrent threads that the InnoDB plug-in can create.

1 Answers  


Why do pointers exist?

0 Answers  


What is the outcome of the line of code "cout<<abs(- 16.5);"? 1) 16 2) 17 3) 16.5

16 Answers   TCS,


Why is there no multiple inheritance?

0 Answers  






Can we override main method?

0 Answers  


Do you know about multiple inheritance?

0 Answers   Motorola,


Plese get me a perfect C++ program for railway/airway reservation with all details.

0 Answers   ITM,


How do you use inheritance in unity?

0 Answers  


What is polymorphism programming?

0 Answers  


c++ program to swap the objects of two different classes

0 Answers  


What is function overloading and operator overloading?

4 Answers  


Categories