public class MainClass{ private void myMethod(double dubs[]){ } private void myMethod2(double[] dubs){ } }