Tag: var args

var args – The magic in Java

Target Audience: Java Developers What should you know? Core Java Writing methods for a class gives completeness for your object. But sometimes it seems to be incomplete when you are not sure about the number of arguments for a method. For example if you are writing a method to find summation of 2 numbers, then …

Continue reading

Permanent link to this article: https://blog.openshell.in/2010/12/var-args-the-magic-in-java/