Friday 29 December 2017

3.2 Var args [Variable Arguments]

Variable Arguments - These are used when you don't know the exact number of arguments to be used in your method.


See below example

NOTE : In method overloading with var arg and fixed arg.
Fixed arg method will get called first



No comments:

Post a Comment