Day 8: OOPS in Python, Class Attributes vs Instance Attributes and Static Methods
Feb 6, 2025 · 3 min read · In Object-Oriented Programming (OOP), attributes are used to store data related to a class or an instance of that class. Python provides two types of attribute. 1. Class Attributes (Shared by all instances) 2. Instance Attributes (Unique to each obje...
Join discussion
