OOPS Interview Questions
What’s an Object ?What is the relation between Classes and Objects ?
What are different properties provided by Object-oriented systems ?
Twist :- Can you explain different properties of Object Oriented Systems?
Note:- Difference between abstraction and encapsulation is one of the favorite interview questionand quiet confusing as both the terminology look alike Best is if you can brainstorm with yourfriends or do a little reading
Twist :- What is difference between Association, Aggregation and Inheritance relationships?
How can we acheive inheritance in VB NET ?
What are abstract classes ?
What is a Interface ?
What is difference between abstract classes and interfaces?
What is a delegate ?
What are events ?
Do events have return type ?
Can event’s have access modifiers ?
Can we have shared events ?
What is shadowing ?
What is the difference between Shadowing and Overriding ?
What is the difference between delegate and events?
If we inherit a class do the private variables also get inherited ?
What are the different accessibility levels defined in NET ?
Can you prevent a class from overriding ?
What is the use of “MustInherit” keyword in VB NET ?
Do interface have accessibility modifier?
How can you cache different version of same page using ASP NET
How will implement Page Fragment Caching ?
What are similarities between Class and structure ?
What is the difference between Class and structure’s ?
What does virtual keyword mean ?
What is Dispose method in NET ?
What is the use of “OverRides” and “Overridable” keywords ?
Where are all NET Collection classes located ?
What is ArrayList ?
What’s a HashTable ?
Twist :- What’s difference between HashTable and ArrayList ?
What are queues and stacks ?
What is ENUM ?
What is nested Classes ?
What is Operator Overloading in NET?
In below sample code if we create a object of class which constructor will fire first ?
What is the significance of Finalize method in NET?
Why is it preferred to not use finalize for clean up?
How can we suppress a finalize method?
What is the use of DISPOSE method?
How do I force can forget to call Disposemethod?
In what instances you will declare a constructor to be private?
Can we have different access modifiers on get/set methods of a property ?
If we write a goto or a return statement in try and catch block will the finally block execute ?
What is Indexer ?
Can we have static indexer in C# ?
In a program blocks are executed ?
What is the difference between System String and System StringBuilder classes?