However, if the vararg data type is a "primitive" type, such as Int, you
will need to use the corresponding primitive array type (e.g., IntArray). Otherwise,
you will get compile errors.
You can learn more about this in:
Tags: