HTML & JS
class GFG
{
private static void main(String args[])
{
	System.out.println("GeeksforGeeks");
}
}

Generated URL:

Runtime Errors:

Error: Main method not found in class, please define the main method as:
public static void main(String[] args)
or a JavaFX application class must extend javafx.application.Application

Output:


											
Report Bug