Introducing
Your new presentation assistant.
Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.
Trending searches
CONCEPT EXAMPLE
Social Media Account
What does a social media account have?
EmailAddress
Properties
UserName
PassWord
What does a social media account do?
SendMessage()
Methods
RecieveMessage()
Post()
Example Scenario
Assume we'll set up a character profile for a game similar with ragnarok or dungeons and dragons.
Characters share the same stats such as hp,mp, str,agi, int but may vary in skills since some characters differ in job or class.
How will we set this up?
Adds a restriction layer by limiting accessible properties and methods via only be able to access it within the object or class.
Controls access by hiding implementations on your object/class and only providing basic functionalities such as output.
Allows multiple objects to access similar or related properties or methods from another object or class.
Allows accessible methods to be overriden by allowing other objects to modify existing methods of an inherrited class.
using OOP will allow the code to become more efficient, thus making it more convenient for collaboration.
Code structure will become more reusable and maintanable given objects.
Modularization/ separation of concern for the development structure.
Easier deployment and implementation.