+ 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"
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
+ 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