Created
April 11, 2023 11:12
-
-
Save ievgiienko/f3c4e298281ea74d66eaa459d1ea4a87 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package org.example; | |
import java.util.Date; | |
public class Main { | |
public static void main(String[] args) throws InterruptedException { | |
while (true) { | |
System.out.println(new Date() + " Hello world!"); | |
Thread.sleep(1000); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment