oops slide

14
REPRESENTED BY:- ASHOK SHARMA, SAKSHI RATHI & ESHU AGRAWAL B.TECH. 3rd YEAR (CS) I.T.M. ENGG. COLLEGE ALIGARH

Upload: ashok-sharma

Post on 19-Jan-2015

508 views

Category:

Technology


0 download

DESCRIPTION

hare krishna.....

TRANSCRIPT

Page 1: Oops slide

REPRESENTED BY:- ASHOK SHARMA,SAKSHI RATHI &ESHU AGRAWALB.TECH. 3rd YEAR (CS)I.T.M. ENGG. COLLEGE ALIGARH

Page 2: Oops slide

Object Oriented Programming

In the OOT user can develop their software using

a new way and thinking about models.Organized around real world concept. C++Small talkJava

Page 3: Oops slide

Procedural Paradigm Program defines data and then calls

subprogram to act on the dataObject Paradigm Program creates objects that

encapsulate the data and procedures that operate on the data

Page 4: Oops slide

1. Each entity can be easily modify , easily reuse and easily upgrade to alter their data or function easily.

2. You can extend any entity according to your requirement or future plane.

3. It also has the scope of future enhancement.

4. You can easily relate one entity with another. It means you can built the relationship between more entities.

5. You can add new function or behavior easily in any of the entity.

Page 5: Oops slide

What Is an object?

Object is a real world entity.

An object is a real or abstract item that contains

information and method that allow it to be manipulated.

For Ex:-OOP’s world | Procedural Language

world Class | structure { | { Objects | }structure variables }

What is an attribute?

An attribute is data value hold by an entity.

Page 6: Oops slide

What is a function?The function describes the behavior of the

object. The function is a way to access the attributeFunction is also called method.What is a class?Class refer to a group of similar object .The class is group of the objects with the samedata structure (attributes) and behavior(function& method).For Ex:- class XYZ { Integer a, float b Gets number }

Page 7: Oops slide

Basically the term “object-orient” means that we

organize our software as a combination orgrouping of different type of objects (real

worldentities) that intercorporate both data

structureas well as behavior .

Page 8: Oops slide

1. Inheritance2. Polymorphism 3. Encapsulation4. Data abstraction

We can use these properties to make our software convenient and attractive. Properties can be defined as:-

Page 9: Oops slide

Inheritance is a mechanism of sharing attributes

and operations among classes.Basically inheritance is of five types,1. Single inheritance2. Multilevel inheritance3. Multiple inheritance4. Hierarchical inheritance5. Hybrid inheritance

Page 10: Oops slide
Page 11: Oops slide

Polymorphism means same thing in different

form. This is one of the crucial feature of OOPs.

Itsimply mean “one name multiple forms”.

Page 12: Oops slide

The property of binding the member data and

member function in a single unit is calledencapsulation.When we ties data structure and the

behavior in asingle unit called class. This property of

bindingthe data and function in single unit calledencapsulation.

Page 13: Oops slide

Data abstraction is a process by which we can

hide un-necessary information from the user.

User can only see those information which are

necessary to him.For Ex:- TV remote

Page 14: Oops slide