Day 1b : Constructors and Types of Variables
🧩 1. What is a Constructor?
A constructor is a special method in a class that is used to initialize objects when they are created.
🧠Key Points:
Has the same name as the class
Does not have a return type (not even void)
Called automatically when...
lldwithbaijnath.hashnode.dev6 min read