What are variable arguments or varargs?



What are variable arguments or varargs?..

Answer / Nazakat Ali

Variable arguments or varargs in Java allow methods to accept an unspecified number of arguments of the same data type. They are indicated using '...'.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Core Java Interview Questions

Can we override the main method?

4 Answers  


What is a serializable interface?

4 Answers  


Explain about sets?

1 Answers  


If an application has multiple classes in it, is it okay to have a main method in more than one class?

1 Answers  


What are the parameters used in Connection pooling?

1 Answers   IBM,


What is namespace in java?

1 Answers  


What is a instance variable?

1 Answers  


I want to know the host name and provider name for tcs web mail

5 Answers   RSG, TCS,


What are the two categories of data types in the java programming language?

1 Answers  


What are streams?

1 Answers  


How can we create objects if we make the constructor private ?

1 Answers  


briefley expalin about the packages

3 Answers  


Categories