keyword is used in the argument to make it optional for the constructor . All the optional arguments of a constructor should be placed after all the mandatory arguments only in a constructor.
How do you make a parameter optional in a constructor?
keyword is used in the argument to make it optional for the constructor . All the optional arguments of a constructor should be placed after all the mandatory arguments only in a constructor.