About 1 constructor

why are we creating the non parameterised constructor that initialises string to null?

@Senjuti256,
Initializing containers is a good habit. Maybe not necessary always.

so why aren’t we initializing the other members in that constructor only initializing name to null there and later again calling another constructor to initialise all the data members including name

@Senjuti256,
You can do that as well, bhiaya is just showing that for an educative purpose, you can do as you please or requirements ask.