Math, asked by arifarizvi8481, 1 year ago

Parentheses is included in a parameter list only if there is minimum of 1 parameter

Answers

Answered by Anonymous
0

So I've noticed that sometimes, when we write functions/methods, we set them up with defined parameters/expected arguments in the parentheses, and sometimes we don't. I tried looking up the reason, and tried to muddle my way through a site packed with jargon that I haven't yet learned (hoisting? anonymous? self-invoking?) and decided that I'd try asking someone directly, instead.

For example, in the code from 24/33, 'Constructors With Method', the given code contains the following:

Similar questions