Oops concept in .Net

Posted by Selvarajmgp under Interview Questions on 12/15/2011 | Points: 10 | Views : 12236 | Status : [Member] | Replies : 4
hi,

Oops concept in .Net [Detailed Explain].


Thanks and Regards,

Selvaraju.n




Responses

Posted by: Gow.net on: 12/15/2011 [Member] Starter | Points: 25

Up
0
Down
http://www.aspfree.com/c/a/C-Sharp/Overriding-versus-Overloading/3/

override:
http://msdn.microsoft.com/en-us/library/ebca9ah3(VS.71).aspx

interface in c#:
http://msdn.microsoft.com/en-us/library/87d83y5b(VS.80).aspx
http://msdn.microsoft.com/en-us/library/ms173156.aspx

abstract in c#:
http://msdn.microsoft.com/en-us/library/sf985hc5(VS.71).aspx

virtual in c#:
http://msdn.microsoft.com/en-us/library/9fkccyh4(VS.71).aspx

gowthaman8870226416

Selvarajmgp, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Sheonarayan on: 11/21/2014 [Administrator] HonoraryPlatinum | Points: 25

Up
0
Down
Here is brief and to the point explanations - http://www.dotnetfunda.com/articles/show/127/oops-for-beginners-features

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Selvarajmgp, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Punitha on: 12/4/2014 [Member] Starter | Points: 25

Up
0
Down
Object:
This is the basic unit of object oriented programming. That is both data and function that operate on data are bundled as a unit called as object.

Class:
When you define a class, you define a blueprint for an object. This doesn't actually define any data, but it does define what the class name means, that is, what an object of the class will consist of and what operations can be performed on such an object.

Abstraction:
Data abstraction refers to, providing only essential information to the outside world and hiding their background details, i.e., to represent the needed information in program without presenting the details.

For example, a database system hides certain details of how data is stored and created and maintained. Similar way, C++ classes provides different methods to the outside world without giving internal detail about those methods and data.

Encapsulation:
Encapsulation is placing the data and the functions that work on that data in the same place. While working with procedural languages, it is not always clear which functions work on which variables but object-oriented programming provides you framework to place the data and the relevant functions together in the same object.

Inheritance:
One of the most useful aspects of object-oriented programming is code reusability. As the name suggests Inheritance is the process of forming a new class from an existing class that is from the existing class called as base class, new class is formed called as derived class.

This is a very important concept of object-oriented programming since this feature helps to reduce the code size.

Polymorphism:
The ability to use an operator or function in different ways in other words giving different meaning or functions to the operators or functions is called polymorphism. Poly refers to many. That is a single function or an operator functioning in many ways different upon the usage is called polymorphism.

Overloading:
The concept of overloading is also a branch of polymorphism. When the exiting operator or function is made to operate on new data type, it is said to be overloaded.



Selvarajmgp, if this helps please login to Mark As Answer. | Alert Moderator

Posted by: Chaithragm on: 12/5/2014 [Member] Starter | Points: 25

Up
0
Down
refer this links

http://www.codeproject.com/Articles/600449/IntroductionplustoplusObjectplusOrientedplusProgra
http://www.codeproject.com/Articles/838365/Basic-Csharp-OOP-Concept

Selvarajmgp, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response