+ 2

How do you describe the very concept of "object" in object oriented programming ?

imagine someone with little understanding of programming asks you:"what's object in opp"

26th Jul 2017, 2:05 PM
hooman aminzadeh
hooman aminzadeh - avatar
2 ответов
+ 1
An object is anything that has a identity (name) an attribute and has a behaviour it can be related to real world objects for eg: A car xyz of blue colour let it's name be xyz it's attribute is blue colour and it's behaviours are start stop and horn etc
26th Jul 2017, 2:16 PM
Vinayak Agrawal
Vinayak Agrawal - avatar
+ 1
Some simple explanation could be: The class is the building plan for a car The object is then the actual car which was built according to that plan
26th Jul 2017, 2:22 PM
Martin Ed
Martin Ed - avatar