Day 1: Object Oriented Programming

Read Time:1 Minute, 8 Second

Day 1: Object Oriented Programming

Object-oriented programming (OOP) is a computer-programming model that organizes software design around data, or objects, rather than functions and logic. An object can be defined as a data field that has unique attributes and behaviour (Source: techtarget.com 2021).

What Is an Object in Programming?  An object is a component of a program that knows how to perform certain actions and how to interact with other elements of the program. Objects are the basic units of object-oriented programming.

A simple example of an object would be a person.

Logically, you would expect a person to have a name. This would be considered a property of the person.

You could also expect a person to be able to do something, such as walking or driving. This would be considered a method of the person.

(Source: study.com 2022).

Structure of the OOPS

  • Classes
  • Objects
  • Methods
  • Attributes

Object Oriented Programming Main Principals

  1. Encapsulation
  2. Abstraction
  3. Inheritance
  4. Polymorphism

Object Oriented Programming with C#:- http://bedford-computing.co.uk/learning/wp-content/uploads/2015/10/Beginning-C-Object-Oriented-Programming-2nd-Edition.pdf

The first object-oriented language is Simula-67, an acronym from Simulation and Language, which was debut in the 1960s.

Read: https://scholar.uwindsor.ca/cgi/viewcontent.cgi?article=3899&context=etd

References

https://www.techtarget.com/searchapparchitecture/definition/object-oriented-programming-OOP

Happy
Happy
0 %
Sad
Sad
100 %
Excited
Excited
0 %
Sleepy
Sleepy
0 %
Angry
Angry
0 %
Surprise
Surprise
0 %