HTML & JS
/*package whatever //do not write package name here */

import java.io.*;

class GFG {
	public static void main (String[] args) {
		System.out.println("GfG!");
	}
}

Generated URL:

Output:

GfG!
Report Bug