0
Method Args
When declaring a method, do the arguments need an identifier or is the type only acceptable?
2 Answers
+ 6
Greetings Shaun, Welcome to Sololearn. I know those badges are tempting but do not ask questions you already know the answer to
0
Both a type and identifier have to be supplied for each argument to avoid compiling errors.