Advantages of OOP

Advantages of OOP, using the example of a racing game:

- Instead of individually creating variables to describe an object and then creating similar variables to describe similar objects, a singular blueprint (class) can be created which multiple objects can be created off.

- This way we are only defining the car once - more efficient for programmers, using less storage and easy to keep track of data.

Comments

Popular posts from this blog

CPU Fetch-Decode-Execute Cycle

OSI Network Model

Scheduling