a. Var Args argument should have data type followed by three dots b. Three dots should be consecutive and not separated by even space c. We cannot have space before and after the dots d. If there is a var args in the method, it should be only one and the last one.
More than 3000 questions in repository. There are more than 900 unanswered questions. Click here and help us by providing the answer. Have a video suggestion. Click Correct / Improve and please let us know.
Q1. Which of the following is false about var args ?
a. Var Args argument should have data type followed by three dots b. Three dots should be consecutive and not separated by even space c. We cannot have space before and after the dots d. If there is a var args in the method, it should be only one and the last one.
Ans. We cannot have space before and after the dots
Help us improve. Please let us know the company, where you were asked this question :