+ 2
What is object oriented programming??
Can someone explain type of programming language.....
3 Answers
+ 10
Object-oriented programming (OOP) refers to a type of computer programming (software design) in which programmers define not only the data type of a data structure, but also the types of operations (functions) that can be applied to the data structure.
+ 1
It is not realy a type, it is an paradigm. OO uses abstraction (contracts), via interfaces and/or abstract classes. A class is a unit that controls it's own states (attributes) and a transition can be requests via methods. So you got the testability (big advantage compared to functional programming!). It supports polymorphism - that is that one thing can behave differently, e.g. an animal can make a noise, but which depends on the concrete animal. And OO supports derivation, so you go from abstract to concrete (e.g. animal -> dog, cat, bird) and inherit (anything) from base (e.g. animals ability: 'make noise').
There are many things you should take into account using oop. Have a look at SOLID, KISS and DRY principle for a good start. Also read about Pattern (Gang of Four) to avoid the reinvention of the wheel.
0
Object Oriented programming is basically creating an object, does not have to be drawn, and storing information on that object. This information is what defines the object, which can be accessed by itself and elsewhere. Like making a grid in which you can store data for each individual gridpiece, while not having to have a array of variables and functions for each piece.