Blue Theme Orange Theme Green Theme Red Theme
 
Nevron Gauge for SharePoint
Home | Forums | ASP.NET 2.0 Tutorials | Web Services | How Do I...? | Class Browser | WPF Quick Starts | Advertise with Us
 | Consulting  
Submit an Article Submit a Blog 
 Jump to
Skip Navigation Links
TechnologyExpand Technology
WebsiteExpand Website
Team Foundation Server Hosting
Search :       Advanced Search »
Home » C++ » Object Oriented Programming: Part 2

Object Oriented Programming: Part 2

In this article series, we will learn lots of basic things in OOP.

Author Rank :
Page Views : 1012
Downloads : 0
Rating :
 Rate it
Level : Beginner
   Print Read/Post comments Post a comment  Similar Articles  
   Email to a friend  Bookmark  Author's other articles  
 
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
 Tag Cloud
 Latest Jobs
More ... 
 Latest Interview Questions
More ... 


Classes


Simply class is collection of objects; they are user defined but works like built-in type. Assume that we have a class Fruit then; there will be many objects like Mango, Orange, Apple etc belonging to the same class.

 

Encapsulation


Encapsulation is feature of a class that wrap data and objects functions into a single unit.

 

Data Binding


This is act of representing essential features without including the background details or explanations. Classes use the concept of data abstraction and are defined as a list of abstract attributes such as size, weight, cost etc.

 

Inheritance


It is a process by which objects of one class acquire the properties of objects of another class. For example, 'Robin bird' is part of the class named 'flying bird' and 'flying bird' is part of 'Bird' class. So, 'Robin' is inheriting the properties of 'flying bird'; 'flying bird' and 'non-flying bird' inheriting the properties of 'bird'.

 

Polymorphism


Polymorphism means the ability to take more than one form. For example, operation of addition for two numbers operation will return the sum but for two strings it will concatenate the string.

 

Operator Overloading

The process of making an operation to exhibit different behaviours in different instances is known as operator overloading.

 

Function Overloading


Using a single function name to perform different types of tasks is known as function overloading. For example, only draw() function can draw multiple shapes circle, box, triangle etc.

 

Dynamic Binding


Binding refers to the linking of a procedure call to the code to be executed in response to the call. Dynamic binding means that the code associated with a given procedure call is not known until the time of the call at run-time.

 

Benefits of OOP


Designers and the users get many benefits (advantages) in OOP as listed below:


  • Class is the highest one benefit of OOP
  • We eliminate the redundant of code and extend the use of existing code
  • Objects can communicate each other using function
  • Data hiding helps the programmer to built the secure programs that can not be invaded by code in other part of the program
  • It is easy to partition the work in project based objects
  • It is easily upgraded from small to large system
  • Software complexity can be easily managed

 

Application of OOP's


Today software engineers are very excited to work using OOPs because it is very interesting for developers and even learners. Applications of OOP are beginning to gain importance in many areas. The most popular application of OOP, up-to now, has been in the area of user interface design such as windows development. Thousands of systems have been developed using the OOP techniques. There are the list of areas where OOP are used mostly:


  • Real-Time Systems
  • Object-Oriented database development
  • Hypertext, Hypermedia work
  • Expert systems
  • Neural Networks and parallel programming
  • Decision Support Systems
  • Office automation Systems etc

 

 

 Note: Continue in next part.

 

HAVE A HAPPY CODING!

Comment Request!
Thank you for reading this post. Please post your feedback, question, or comments about this post Here.
Login to add your contents and source code to this article
 [Top] Rate this article
 
 About the author
 
Abhimanyu Kumar Vatsa
http://www.itorian.com/about/
Looking for C# Consulting?
C# Consulting is founded in 2002 by the founders of C# Corner. Unlike a traditional consulting company, our consultants are well-known experts in .NET and many of them are MVPs, authors, and trainers. We specialize in Microsoft .NET development and utilize Agile Development and Extreme Programming practices to provide fast pace quick turnaround results. Our software development model is a mix of Agile Development, traditional SDLC, and Waterfall models.
Click here to learn more about C# Consulting.
 
Introducing MaxV - one click. infinite control. Hyper-V Hosting from MaximumASP.
Finally – a virtual platform that delivers next-generation Windows Server 2008 Hyper-V virtualization technology from a managed hosting partner you can truly depend on. Visit www.maximumasp.com/max for a FREE 30 day trial. Hurry offer ends soon. Climb aboard the MaxV platform and take advantage of High Availability, Intelligent Monitoring, Recurrent Backups, and Scalability – with no hassle or hidden fees. As a managed hosting partner focused solely on Microsoft technologies since 2000, MaximumASP is uniquely qualified to provide the superior support that our business is built on. Unparalleled expertise with Microsoft technologies lead to working directly with Microsoft as first to offer IIS 7 and SQL 2008 betas in a hosted environment; partnering in the Go Live Program for Hyper-V; and product co-launches built on WS 2008 with Hyper-V technology.
Dynamic PDF
ceTE software specializes in components for dynamic PDF generation and manipulation. The DynamicPDF™ product line allows you to dynamically generate PDF documents, merge PDF documents and new content to existing PDF documents from within your applications.
Nevron Chart for .NET 2010.1 Now Available
The leading .NET charting control now features PDF, Flash and Silverlight export, visualization of large datasets and more. Deliver true charting functionality to your BI, Scorecard, Presentation or Scientific apps. Download evaluation now.
ASP.NET 4 Hosting
Get 2 Months Free of ASP.NET Hosting for Only $4.95/month! Receive FREE MS SQL and MySQL Databases Including ASP.NET 4/3.5, MVC 3.0, Silverlight 4, Windows 2008/IIS 7.0 Plus FREE IIS 7 Modules. Host UNLIMITED ASP.NET Web Sites – Click Here!
 
 Post a Feedback, Comment, or Question about this article
Subject:
Comment:
6 Months Free & No Setup Fees ASP.NET Hosting!
Become a Sponsor
 Comments

 © 2012  contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.