class main
public static void main(String[largs)
{
System.out.println(" About to encounter a method");
myMethod();
System.out.println("Method was executed successfully!");
}
private static void myMethod()
System.out.println("Printing from inside myMethod() !");
}
Please tell the algorithm of this program
Answers
Answered by
0
Answer:
it's Hard ⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⚡⭐
Similar questions