+ 127
What is the meaning of Object Oriented programming ? what is Objects?
Definition of Object.
66 Answers
+ 68
Object-oriented programming(OOP) refers to a type of computer programming (software design) in which programmersdefine not only the data type of a data structure, but also the types of operations (functions) that can be applied to the data structure.
+ 54
Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data. It does this in a linear fashion from beginning to end. Object-oriented programming (OOP) changes that idea. It is a programming language model organized around objects rather than "actions" and data rather than logic. OOP is also event-driven which means that it's objects respond to events, and this controls the flow of the program as opposed to the program controlling the flow of events.
Objects, as in Object Oriented Programming (OOP), are an abstract idea used to represent something in programming. what the object represents can be something physical like a house, or it can represent something intangible like financial status.
Objects have properties which can be used to describe them. A house is an object that can have a certain number of rooms and a street address, while financial status can have bank account balance and credit card debt.
objects can also have actions associated with them. For example financial status could have funds transfers, and a house could have lawn mowing. in object-oriented programming we call these actions "methods" and would accomplish these methods using functions.
Object Oriented Programming (or simply OOP) allows us to to represent concepts like this in our programs and gives us a way to handle that information in a logical and consistent manner. This makes OOP very powerful because it allows us to conceptualize data and the methods of handling that data in our programs. it allows us to break down large chunks of data and actions into smaller manageable chunks and frees us from having to remember and deal with every detail on our own each time we want to work with an object.
+ 33
In the class-based object-oriented programming paradigm, "object" refers to a particular instance of a class where the objectcan be a combination of variables, functions, and data structures.
+ 23
I simply describe an object as a complex data (or variable) type.
The base or standard variables all have different types like integer, char, string float etc.
OOP allows you to create new _types_ of variables, called objects, and additionally offers what I find to be a more structured way to design program code.
+ 19
In simple words: Object is a special kind of variable that can store multiple values(attributes), functions(methods) and have some specific characteristics(inheritance, encapsulation,abstraction).
+ 15
Objects are basically the variables of a class...
+ 14
Object-oriented programming (OOP) is a programming language model organized around objects rather than "actions" and data rather than logic. Historically, a program has been viewed as a logical procedure that takes input data, processes it, and produces output data.
+ 10
An object is a set of variables and methods. Variables within an object define it's state where as methods define the functions the object can perform with the variables.
+ 10
simply,object refers a real life instance of world .like a person ,place any real instance .
and oops language ( object oriented programming) is the language who follow some particular concepts of oops .such as :-
1.object & class.
2.inheritance.
3.polymorphism.
4.message passing.
5.dynamic binding.
6.data abstraction.
7.data encapsulation.
remember their is little difference between object oriented programming and object based programming.
oops language follow concepts whereas object based programming language is based on this concepts except inheritance & dynamic binding.
now I typed so much I think that's good
+ 9
I would start by defining an object which is a data structure, type that can be used to store values and is pointed at by an identifier.
OOP is a programming model that is based on the concept of objects. It evolves on the concepts of encapsulation and inheritance.
You may wonder what inheritance and encapsulation is.
Inheritance is an OOP concept where by you can derive a class from another class. E.g. you can derive a class Dog from Animal both classes share some attributes and methods for e.g. Eat(),Move().
Encapsulation is hiding the data of an object from external direct access. You can accomplish this by using access modifiers (private,public ).
+ 8
object oriented programming is based on real world entities called objects. each object is capable of storing the data and performing operations on it to get a desired output.
+ 7
OOP main focus is on classes and objects. In simplest terms that I can put it , a object is a thing .
A house, a car, a cd player, a tv , a cat, a dog , a smartphone , are all objects . But they are also things.
The whole world is made up of objects.
A class is a blueprint , or if you prefer a description of a object.
God the Creator, or if you prefer , Mother nature made a single blueprint(class) called Dog that can be applied to all Dog objects . Each dog object has (characteristics ) , and each dog object can do actions (behavior ) .
The class (blueprint) defines the characteristics of all Dog objects, such as its breed, a dogs name such as,Sammy, Joey, or Milly and it's age and gender. The class also defines objects behavior or what it can do, such as eat, sleep, and fetch and play. Once a class (blueprint) is made it is applied to all objects that share the same characteristics and actions.
A Blueprint called TV is made with specifications on what each actual TV object contains and what actions are preformed on it.
Each TV object has a brand name , it has a volume knob. and a channel knob and a on/off switch all these are called it's characteristics. Next the actions(behavior) is turning the volume up or down , and changing the channels to see what other programs are on. Your smartphone is a animated object .
Each smartphone is made from a single class (blueprint, ideal ) called Smartphone from which all smartphone objects are made from.
Each smartphone has characteristics such as brand name (Samsung or Apple ) and color, internal storage and a on/off switch and voice mail and apps. And all smartphones have actions such as as turning phone object on, checking email, checking voice mail, playing game , and deleting and saving files,
and updating apps.
Therfore OOP is programming which focuses on classes and objects . And a object is a tangible example of a class.
Class stands for classification, and we humans classify types of objects/things all around us.
+ 6
an object is a programming component which has identity, behavioral traits, and unique, properties making it distinct from other 'objects'. these objects are the building blocks of coding with OOP
+ 6
Object oriented programming is a methodology to design a program using classes and Objects. OOP provides an easy way to add new data , values and functions. OOP follows bottom up approach.
Objects :- In OOP a program is Divided into parts called Objects
😉😉
+ 6
Objects are real world entity and user defined data type.
objects oriented programming is way of programming that use objects and class concept.
It's also called bottom up approach.
+ 6
what is object-->
its is a memory location.
where the instance data member of a class store.
for eq.-->
class A
{
int a;//instance variable of class
public static void main(String ... b)
{
A c=new A();
//c is a reference variable of a class type where store the address of memory location (object)
}
}
second point--->
everyone explain you very well already..
hope u understand
+ 5
object oriented programming is, in a nutshell, using self contained programming 'objects' via the process of encapsulation to reuse code and streamline the coding process.
+ 4
@Anil that would be somewhat misleading, as objects can also be abstract, such as a bank account, or a debt. intangible concepts. real world implies a physical item that can be touched, viewed, etc
+ 4
opp is a data structure designing that allow you to create your own types other than < string and integers ... > and define methods or operations that can modify the state or attributes of that type or do something else. for example String is a data type that have methods and bunch of attributes such as <string.length > which return the length of that string.