Login
Register
Tutorials
Forum
Career Development
Resources
Reviews
Jobs
Interview
Communities
Projects
Training
Silverlight Games
|
Bookmarks
|
New Members FAQ
|
Mentor
|
Code Converter
|
IT Companies
|
Peer Appraisal
|
Members
|
Revenue Sharing
|
Computer Jokes
|
New Posts
|
Social
|
Online Members
Farzin
Abul Bashar Sardar
Shine S
More...
Forums
»
.NET
»
.NET
»
Oops Concepts-Urgent
Posted Date:
16 Feb 2006
Posted By::
narayanamoorthy
Member Level:
Silver
Member Rank:
0
Points
: 2
Responses:
8
Hi All,
I want a clear concepts of OOPs
i want example codings for each concepts....
Interview type of explanation is best for me.
Please tell me .....Urgent
share ur interview oops concepts
Thanks in advance
MoorthyP
Tweet
Responses
#42266 Author:
srinivas
Member Level:
Gold
Member Rank:
0
Date: 17/Feb/2006 Rating:
Points
: 2
Concepts of OOP:
o Objects
o Classes
o Data Abstraction and Encapsulation
o Inheritance
o Polymorphism
Briefly on Concepts:
Objects
Objects are the basic run-time entities in an object-oriented system. Programming problem is analyzed in terms of objects and nature of communication between them. When a program is executed, objects interact with each other by sending messages. Different objects can also interact with each other without knowing the details of their data or code.
Classes
A class is a collection of objects of similar type. Once a class is defined, any number of objects can be created which belong to that class.
Data abstraction and Encapsulation
Abstraction refers to the act of representing essential features without including the background details or explanations. Classes use the concept of abstraction and are defined as a list of abstract attributes.
Storing data and functions in a single unit (class) is encapsulation. Data cannot be accessible to the outside world and only those functions which are stored in the class can access it.
Inheritance
Inheritance is the process by which objects can acquire the properties of objects of other class. In OOP, inheritance provides reusability, like, adding additional features to an existing class without modifying it. This is achieved by deriving a new class from the existing one. The new class will have combined features of both the classes.
Polymorphism
Polymorphism means the ability to take more than one form. An operation may exhibit different behaviors in different instances. The behavior depends on the data types used in the operation. Polymorphism is extensively used in implementing Inheritance.
Advantages of OOP
Object-Oriented Programming has the following advantages over conventional approaches:
o OOP provides a clear modular structure for programs which makes it good for defining abstract datatypes where implementation details are hidden and the unit has a clearly defined interface.
o OOP makes it easy to maintain and modify existing code as new objects can be created with small differences to existing ones.
o OOP provides a good framework for code libraries where supplied software components can be easily adapted and modified by the programmer. This is particularly useful for developing graphical user interfaces.
#57354 Author:
HimaBindu Vejella
Member Level:
Gold
Member Rank:
42
Date: 07/Jun/2006 Rating:
Points
: 2
http://www.developer.com/design/article.php/10925_3317571_3
http://himabinduvejella.blogspot.com
http://sysntaxhelp.com/asp.net
http://groups.google.com/group/mugh
Hima's Tech Blog
#71417 Author:
DotNetGuts (DNG)
Member Level:
Gold
Member Rank:
71
Date: 24/Aug/2006 Rating:
Points
: 2
http://www.dotnetspider.com/profiles/ProfileArticles.aspx?userId=CodeGuruDotNet
DotNetGuts (DNG)
DotNetGuts Blog
#126967 Author:
ashutosh
Member Level:
Bronze
Member Rank:
0
Date: 04/Jun/2007 Rating:
Points
: 2
wat is static constractor.
#135046 Author:
Preet Maan
Member Level:
Bronze
Member Rank:
0
Date: 05/Jul/2007 Rating:
Points
: 2
For basic oops concepts you can visit
http://www.dotnetinterviewfaqs.com/oops-object-oriented-programming-concepts-faqs-job-interview-questions-answers.aspx
#249597 Author:
Sunku.VamsiKrishna
Member Level:
Bronze
Member Rank:
0
Date: 16/Jun/2008 Rating:
Points
: 2
http://www.c-sharpcorner.com/UploadFile/eecabral/OOPSand.NET111102005065802AM/OOPSand.NET1.aspx
http://www.dotnettreats.com/tipstricks/oopconcepts2.aspx
http://www.developer.com/net/csharp/article.php/1465681
#283690 Author:
Ultimaterengan
Member Level:
Gold
Member Rank:
9
Date: 20/Aug/2008 Rating:
Points
: 2
hi,
OOPs stands for object oriented programming system.the programming language relates to the use of c++ and Java.
OOP is object oriented programming language which is extension of procedure oriented programming language.
OOP is reduce the code of the program because extensive feature of polymorphism.
It have many properties:-
1)Inheritance
2)Data Abstraction
3)Data Encapsulation
4)Polymorphism
5)Data Hiding
Inheritane is Parent class(super class) variable and methods use in child class(sub Class).
i hope this may help u
Thanks & Regards
G.Renganathan
Nothing is mine ,Everything is yours!!!
http://renganathan1984.blogspot.com/
#283721 Author:
RobinHood
Member Level:
Gold
Member Rank:
44
Date: 20/Aug/2008 Rating:
Points
: 5
OOP is defined as object oriented programming.
Basic Concepts of OOP..
1)Class
2)Object
3)Method
4)Inheritance
5)Abstraction
6)Encapsulation
7)Polymorphism
8)Message passing
For More Details..
http://en.wikipedia.org/wiki/Object-oriented_programming
http://www.webopedia.com/TERM/O/object_oriented_programming_OOP.html
http://searchsoa.techtarget.com/sDefinition/0,,sid26_gci212681,00.html
Regards
Sridhar R
Nothing is illegal, Until You Get Caught
With Tears...Sridhar R
Post Reply
This thread is locked for new responses. Please post your comments and questions as a
separate thread
.
If required, refer to the URL of this page in your
new post
.
Tweet
Next :
Is there any expert to solve this?
Previous :
what is difference between String and string(data type) in c#?
Return to Discussion Forum
Post New Message
Category:
Related Messages
Is there any expert to solve this?
Active Members
Today
Pawan Awasthi
(45)
naveensanagase...
(21)
Prasad kulkarn...
(11)
Last 7 Days
naveensanagase...
(224)
Naved Hasan ...
(189)
Pawan Awasthi
(189)
more...
Awards & Gifts
Email subscription
.NET Jobs
.NET Articles
.NET Forums
Articles Rss Feeds
Forum Rss Feeds
Talk to Webmaster Tony John