Class main public static void main(String[largs){System.out.println(” About


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 myMethodSystem.out.println(“Printing from inside myMethod !”}
Please tell the algorithm of this program ​


Leave a Reply

Your email address will not be published.