Home »
MCQs »
Scala MCQs
What is the maximum number of parameters a method can accept?
78. What is the maximum number of parameters a method can accept?
- 32
- 64
- 128
- 255
Answer: D) 255
Explanation:
The number of method parameters is limited to 255 by the definition of a method descriptor.