java varargs parameters for method

in java ,programmer can declare a method with varargs parameter ,It means the method cannot parameter call 0 or more parameter . for example string.format . it possible with varargs feature.

2016-09-16-16_59_59-workspace-java-testbyrefvalue_src_testbyrefvalue_test-java-eclipse

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s