Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do oop objects keep their state?

Asked by 4 years ago

I saw someone saying: "oop objects keep their state" What does that mean exactly. I know that state means properties, but what does it mean to keep them

0
OOP is an abbreviation for Object Oriented Programming. Geobloxia 251 — 4y
0
Object Oriented Programming, can be abbreviated to OOP, is divided into 2 principles: abstraction and classification. These 2 principles are simple if you break it down. Abstraction can thought as assumption. When you press the ‘on’ button on your remote you assume that the TV will turn on. You might not know the mechanics of the TV but you expect the TV to turn on. Geobloxia 251 — 4y
0
Essentially, that is what abstraction is. Classification is identifying what an object is. For example if we questioned, “What is a TV” we would say “A TV is found in the living room of the house and is an appliance that we use to watch.” What if you questioned, “What is a living room appliance?” You would say it is an entertainment appliance. The TV is an instance of the class “living room”. Geobloxia 251 — 4y
0
Subclass of “entertainment” is the class “living room”. Classification is a method used to reduce the quantity of information we have to remember. Geobloxia 251 — 4y
0
I already know most lf this stuff, but thanks for the effort! It doesn't really answzr my question though, sorry can't upvote your comments JustHerezForQuestion 7 — 4y

Answer this question