OBJECT_ORIENTED_PROGRAMMING

Views:
 
Category: Entertainment
     
 

Presentation Description

No description available.

Comments

Presentation Transcript

Object-Oriented Programming Concepts: 

Object-Oriented Programming Concepts PANKAJA KUMAR PATRA FIRST YEAR MCA 2 ND SEMISTAR ROLL NO:-

KEY POINTS…….. : 

KEY POINTS……..  What is an Object?  What is a Class?  What is a Message?  Requirements of Object-Oriented language  Step by step explanation

What is an Object? An object is a software bundle of related variables and methods. Software objects are often used to model real-world objects you find in everyday life. : 

What is an Object? An object is a software bundle of related variables and methods. Software objects are often used to model real-world objects you find in everyday life. Visual representation of a software object A bicycle modeled as a software object

What is a Class? A class is a blueprint or prototype that defines the variables and the methods common to all objects of a certain kind. : 

What is a Class? A class is a blueprint or prototype that defines the variables and the methods common to all objects of a certain kind.  Class is an implementation of an abstract data type and so encapsulates both data and operations.  Object is run-time instance of class. Classes just sit there, objects do the real work. Memory is allocated for Objects not for Classes.

What is a Message? Software objects interact and communicate with each other using messages. : 

What is a Message? Software objects interact and communicate with each other using messages.  The object to which the message is addressed (YourBicycle)  The name of the method to perform (change Gears)  Any parameters needed by the method ( lowerGear )

To be object oriented, a language must support: 

To be object oriented, a language must support  Encapsulation  Inheritance  Dynamic Binding Some of the popular OO languages are C++ Smalltalk Java Eiffel FORTRAN90 CLOS(Common Lisp Object System) Ada95 Modula-3

Encapsulation: Packaging an object's variables within the protective custody of its methods is called encapsulation. Often, for practical reasons, an object may wish to expose some of its variables or hide some of its methods. Access Levels: : 

Encapsulation: Packaging an object's variables within the protective custody of its methods is called encapsulation . Often, for practical reasons, an object may wish to expose some of its variables or hide some of its methods . Access Levels: Specifier Class Subclass Package World Private X Protected X X X Public X X X X

Procedures: 

Procedures Highlight any procedural differences from regular projects of this type Discuss requirements, benefits, and issues of using new procedures FOR MORE INFO... List location or contact for procedures document (or other related documents) here

Schedule: 

Schedule Review high-level schedule milestones here FOR MORE INFO... List location or contact for detailed schedule (or other related documents) here Jan Feb Mar Apr May Jun July Sep Oct Nov Dec Phase 1 Phase 2 Phase 3

Current Status: 

Current Status High-level overview of progress against schedule On-track in what areas Behind in what areas Ahead in what areas Unexpected delays or issues

Related Documents: 

Related Documents Marketing plan Location or contact name/phone Budget Location or contact name/phone Post mortem Location or contact name/phone Submit questions Location or contact name/phone