Class and optional parameters

Hi guys !
I got a question about how could I make a class with optional parameters, so that, I’m not obliged to declare always every parameter when making an instance. There is a lot of operators that act this way, and I would like to know how could I make it possible ? Is there maybe a matter of inheritance ?

You can define a default value for the constructor method’s parameters…you could add an asterisk to make a parameter optional, then do a check to see if it was given…