OOPS Interview Questions

By | April 28, 2014

What is Object Oriented Programming ?

What’s a Class ?

What’s a Object ?

What’s 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?)

(Twist :- What’s difference between Association , Aggregation and Inheritance relationships?)

How can we acheive inheritance in VB.NET ?

What are abstract classes ?

What’s a Interface ?

What is difference between abstract classes and interfaces?

What is a delegate ?

What are event’s ?

Do events have return type ?

Can event’s have access modifiers ?

Can we have shared events ?

What is shadowing ?

What’s difference between Shadowing and Overriding ?

What’s difference between delegate and events?

If we inherit a class do the private variables also get inherited ?

What are different accessibility levels defined in .NET ?

Can you prevent a class from overriding ?

What’s the use of “MustInherit” keyword in VB.NET ?

Why can not you specify accessibility modifier in Interface ?

What are similarities between Class and structure ?

What’s a difference between Class and structure’s ?

What does virtual keyword mean ?

What are shared (VB.NET)/Static(C#) variables?

What is Dispose method in .NET ?

Whats 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’s Operator Overloading in .NET?

In below sample code if we create a object of class2 which constructor will fire first ?

What’s 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’s the use of DISPOSE method?

How do I force the Dispose method to be called automatically, as clients can forget to call Dispose method?

In what instances you will declare a constructor to be private? =================================================================================================

Leave a Reply