Kategorier: Alla - languages - design - implementation - attributes

av kavi nah för 4 årar sedan

1384

OBJECT ORIENTED PROGRAMMING

Object-Oriented Programming (OOP) is a method of programming that organizes software design around data, or objects, rather than functions and logic. This technique involves defining the components of a system, including objects, classes, attributes, and operations, to meet specified requirements.

OBJECT ORIENTED PROGRAMMING

OBJECT ORIENTED PROGRAMMING

The advantages and disadvantages are the pros and cons of a certain topic, that each person considers thoroughly before making a bigger decision.

INTRODUCTION OOP

Add here the topic you want to reflect on!

It can be a serious life-changing matter or even a decision on whether to buy a new car or not!

You can describe here why you need this decision or add any other considerations in this regard.

Object oriented concept & terminologies
Unified Modeling Language

Capture the artifacts of an OOAD process

Features of OOP

Polymorphism

Object to take on many form

Inheritance

One class derives the properties of another class

Encapsulation

Mechanism of wrapping up of data and methods

Data Abstraction

Data without including the non-essential details

Classes and Objects



Add your counterarguments here!

Objects

Instance of a class

Classes

Template or blueprint to create an object

Object, attribute, behaviour



Add your counterarguments here!

Behaviour

Operation or function that an object can perform

Attribube

Data value or state that describes an object

Object

Programming Techniques
Object-oriented analysis and design

Analysis and design of an application / system

Disadvantages OOAD

All time it is not easy to determine all the necessary classes

Advantages OOAD

It reduce the development time & cost

It provides re-usability

It is easy to maintain

It is easy to understand

Object-Oriented Design

Defining the components, interfaces, objects, classes, attributes, and operations that will satisfy the requirements

Implementation details

Implementation of associations

Implementation of control

Implementation of methods

Subtopic

Restructuring the class data

Object-Oriented Approach

Process of defining the problem in terms of real-world objects

Primary tasks

Describing how the objects interact

Defining the behaviour/ function of the objects

Defining the object attributes

Organizing the objects

Identifying objects

Procedural Programming

Can be defined as a programming model which is derived from structured programming,

Languages used PP

BASIC, Pascal and C

FORTRAN, ALGOL, COBOL

OOP is a method of programming based on a hierarchy



Add your pro arguments here!

Languages used in OOP

PHP, JavaScript, Ruby, Perl

Objective-C, Dart, Swift, Scala

Java, C++, C#, Python