: Object-Oriented Programming (OOP)

On the 15th day, I decided to start learning Object-Oriented Programming (OOP). This concept was completely new to me, but I soon realized how powerful it is in building organized and scalable programs.

I started by understanding the basics, such as creating “objects” and “classes”. I learned how classes can be used to group data and associated functions in one place. I wrote my first class, “Car”, where I was able to define attributes such as color and type, and also create its own functions such as move or stop. 

Comments

Popular posts from this blog