Hi Divya,
Benefits of using var-arg:
1- Sometimes you don't need to pass arguments to the method that
requires var-arg. It is not mandatory to pass value to var-arg field.
2- var-arg is new arrival with
Java 5.0, anyway it is converted to the
array finally by the compiler. It is just convenience to us.
Thanks,