You are on page 1of 3

cc c 

V Ê What is Object Oriented Programming ?


2 What¶s a Class ?
3 What¶s a Object ?
4 What¶s the relation between Classes and Objects ?
5 What are different properties provided by Object-oriented systems ?
6 Twist :- Can you explain different properties of Object Oriented Systems?
7 Twist :- What¶s difference between Association , Aggregation and Inheritance
relationships?
8 How can we acheive inheritance in VB T ?
9 What are abstract classes ?
V What¶s a Interface ?
VV What is difference between abstract classes and interfaces?
V2 What is a delegate ?
V3 What are event¶s ?
V4 Do events have return type ?
V5 Can event¶s have access modifiers ?
V6 Can we have shared events ?
V7 What is shadowing ?
V8 What¶s difference between Shadowing and Overriding ?
V9 What¶s difference between delegate and events?
2 If we inherit a class do the private variables also get inherited ?
2V What are different accessibility levels defined in T ?
22 Can you prevent a class from overriding ?
23 What¶s the use of ³MustInherit´ keyword in VB T ?
24 Why can not you specify accessibility modifier in Interface ?
25 What are similarities between Class and structure ?
26 What¶s the difference between Class and structure¶s ?
27 What does virtual keyword mean ?
28 What are shared (VB T)/Static(C#) variables?
29 What is Dispose method in T ?
3 Whats the use of ³OverRides´ and ³Overridable´ keywords ?
3V Where are all T Collection classes located ?
32 What is ArrayList ?
33 What¶s a HashTable ?
34 Twist :- What¶s difference between HashTable and ArrayList ?
35 What are queues and stacks ?
36 What is M ?
37 What is nested Classes ?
38 What¶s Operator Overloading in T?
39 In below sample code if we create a object of class2 which constructor will fire
first?
4 What¶s the significance of Finalize method in T?
4V Why is it preferred to not use finalize for clean up?
42 How can we suppress a finalize method?
43 What¶s the use of DISPOS method?
44 How do I force the Dispose method to be called automatically, as clients can
forget to call Dispose method?
45 In what instances you will declare a constructor to be private?
46 Can we have different access modifiers on get/set methods of a property ?
47 If we write a Goto or a return statement in try and catch block will the finally
block execute ?
48 What is Indexer ?
49 Can we have static indexer in C# ?
5 In a program there are multiple catch blocks so can it happen that two catch
blocks are executed ?
5V What is the difference between System String and System String Builder
classes?
V Ê What is Object Oriented Programming ?

A type of programming in which programmers define not only the data type of a data
structure, but also the types of operations (functions) that can be applied to the data structure
In this way, the data structure becomes an object that includes both data and functions In
addition, programmers can create relationships between one object and another For example,
objects can inherit characteristics from other objects

One of the principal advantages of object-oriented programming techniques over procedural


programming techniques is that they enable programmers to create modules that do not need
to be changed when a new type of object is added A programmer can simply create a new
object that inherits many of its features from existing objects This makes object-oriented
programs easier to modify

To perform object-oriented programming, one needs an object-oriented programming


language (OOPL) Java, C++ and Smalltalk are three of the more popular languages, and
there are also object-oriented versions of Pascal

2 What¶s a Class ?

You might also like