// method without parameters private static void plus(){ System.out.println("plus method without parameters is called"); } // method with two integer parameters private static int plus(int i,int j){ System.out.println("int plus method is called"); return i+j; } // method with two double parameters private static double plus(double i,double j){ System.out.println("double plus method is called"); return i+j; }Source:www.lautturi.com