- Simple java code
class Main{/*Every application in Java must contain the main method. The Java compiler starts executing the code from the main method*/public static void main(String anyVar[]){System.out.println("Simple java code");}}
Output:
Simple java code
Screenshot:
Comments
Post a Comment