class_varagas_parameter.htm
Objective : use of variable arguments length::vargas, with .... declaration.

public void read_input(String str,double... dd)

import java.io.*;
import java.util.*;//to use EnumSet, EnumMap classes
public class Test_This {

/**
* @param args
*/
public static void main(String[] args) throws IOException{
Process pp = new Process();
double d1 = 1.1,d2= 2.2, d3= 3.3, d4=4.4, d5 = 5.5;
try{
pp.read_input("hello varagas ",d1,d2,d3,d4,d5);
}//try
catch(NumberFormatException e)
{ System.out.println("data was blank");}
}
}
class Process
{
private static int counter = 1;
public Process()
{ System.out.println("Parent class Process constructor responded "
 + counter++);}
public void read_input(String str,double... dd)
{
for (Double dr : dd)
System.out.println(" "+ str + " "+ dr);
System.out.println();
}
}