COMPILER DESIGN

ADVANCED TOPICS IN COMPILER DESIGN

CODE GENERATION FOR OBJECT ORIENTED LANGUAGES

Question [CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
What is/are the rules for varargs in JavaI) There can be only one variable argument in the method.II) Variable argument (varargs) must be the last argument.
A
Only I is True
B
Only II is True
C
Both I and II are True
D
Both I and II are False
Explanation: 

Detailed explanation-1: -Each method can only have one varargs parameter. The varargs argument must be the last parameter.

There is 1 question to complete.