Object Oriented Programmings Interview Questions & Answers PDF
Object Oriented Programmings Interview Questions & Answers PDF
4. Visual Studio .NET (2002) 7.0 Feb 13, 2002 1.0 1.0 N/A
5. Visual Studio .NET 2003 7.1 April 24, 2003 1.1 1.1 N/A
7. Visual Studio 2008 9.0 Nov 19, 2007 2.0 3.0 & 3.5 3.0
8. Visual Studio 2010 10.0 April 12, 2010 4.0 4.0 4.0
9. Visual Studio 2012 11.0 Sep 12, 2012 4.0 4.5 4.5
10. Visual Studio 2013 12.0 Oct 17, 2013 4.0 4.5.1 4.5
11. Visual Studio 2015 14.0 July 20, 2015 4.0 4.6 4.5
.Net OOPS InterView Questions and Answer with Practical
e.g.
e.g.
e.g.
● Type of Polymorphism:
1. Overloading: Having different methods with same name but
different parameters in a single class is called method overloading.
New and Virtual keyword: New keyword completely hides the base clas
implementation and creates a new method.It can be concluded that th
method defined is independent of base class method.
Override keyword overrides the base class implementation. it helps in
existence of different versions of method and appropriate version i
called dynamically.Objects of derived class will be calleed this method
instead of base class method.
.Net OOPS Interview Questions and Answer with Practical
.Net OOPS Part 23: (Abstract Class)
1. Multiple Inheritance A class may inherit several interfaces. A class may inherit only one abstract class.
2. Default implementation An interface cannot provide any code, An abstract class can provide complete,
just the signature. default code and/or just the details that have
to be overridden.
s 3 Access Modfiers An interface cannot have access An abstract class can contain access
modifiers for the subs, functions, modifiers for the subs, functions, properties
properties etc everything is assumed
as public
4. Fields and Constants Interface can not have Fields and Abstract class can have fields and constants.
Constants
5. Constructor Interface can not have constructor Abstract class can have constructor
6. Static method Interface can not have static methods Abstract class can have static methods.
.Net OOPS Interview Questions and Answer with Practical
.Net OOPS Part 25: (Abstract Class)