FreePrograms


C language is a middle level language. It is a structured language. C language is a case sensitive language. All syntax written in c language is in lower case. C is the basis for C++.
  CONTACT US   ABOUT US   PRIVACY  DISCLAIMER

FREE C PROGRAMS 

What is C C vs C++ vs Java Program Structure Data Types in C Basic Rules of C & C++
Functions in C If, Else Conditions Loops in C Switch Case Arrays
Pointers Structures in C Strings in C Command Line Arguments Type Casting
Linked Lists Recursion Binary Trees Inheritance Multiple Inheritance
Templates File I/O Object Oriented Programming Data Structures in C C interview Questions
 

Object Oriented Programming

Object Oriented Programming Concepts

Object-Oriented Programming With ANSI-C

ANSI C and object-oriented programming

Introduction to Object-Oriented Programming Using C++

Encapsulation vs. Inheritance — Developer.com

Object-Oriented Programming: Inheritance

OOP - Polymorphism

is c object-oriented and if so is c++ also object-oriented? . - Q&A

Before starting with java let me tell you what is Object Oriented programming [OOP]?

Languages supporting OOP are C, C++, JAVA

C language is used to clear our basic concepts so as to learn C++ and Java.

C++ Language =Procedural language with Object Oriented extension.

Java Language=It is PURE OBJECT ORIENTED LANGUAGE.

OBJECT ORIENTED LANGUAGE

Objective of this type of approach is to remove the flaws encountered in procedural approach that is in C++.

It treats data as a critical element and does not allows it to move freely around the system. It ties data more closely to the functions that operate on it and prevents it from unintentional modification by other functions or methods. It allows us to decompose a problem in to number entities called objects. Emphasis is on data rather than procedure.

green ones are methods or functions where as brown one is data.

OBJECT=DATA +METHODS

Data is hidden and can't be accessed  by external functions.Follows bottom up approach.Objects can communicate with each other  through methods. New data and methods can be added whenever necessary.

CLASSES: Collection of objects of similar type.

Data Encapsulation and Data abstraction:

Wrapping up of data and methods into class is encapsulation. Classes uses concept of abstraction which includes hiding of data and showing only essential features.

INHERITANCE: Properties by which objects of one class acquire the properties of objects of another class.

POLYMORPHISM:Ability to take more than one form. e.g Shape can be circle, box, triangle.

Benefits of OOP: Through inheritance we can eliminate redundant code. Saves development time and higher productivity.

Easy to partition the work. Software Complexity can be easily managed. Easy upgradation from small to large systems.

Applications of OOPs:

Real Time systems

Simulation and Modelling

Object oriented databases

Hyper text, Hyper media

Artificial intelligence

Parallel programming

Decision support and office automation systems

CIM,CAD Systems.

COPYRIGHT 2009 ALL RIGHTS RESERVED FREECPROGRAMS.COM