public class MethodParam { public static void main(String[] args) { System.out.println("Hello Java"); MyStaticMethod(2); // Call MyStaticMethod once MyStaticMethod(3); // Call MyStaticMethod twice MyStaticMethod(999); // Call MyStaticMethod another time } public static void MyStaticMethod(int i) { System.out.println("The value passed is " + i); } }