umer zaheer• 160
@umernk42
Submitted
@Lisakhanya444
@umernk42
Submitted
@Lisakhanya444
Posted
To make it simple: Use a class when you need multiple copies of the same object (instances) that you want to add functions (methods) or values (properties) to. The advantage is that all those objects can share the same functions but still have different values.