Skip to main content
Commonmark migration
Source Link

#Java, 300 166 137 125 124 bytes

Java, 300 166 137 125 124 bytes

Nearly More than halved thanks to VoteToClose, Paülo Ebermann and janschweizer!

interface A{static void main(String[]a)throws Exception{for(;;Thread.sleep(1000))System.out.println(new java.util.Date());}}

Ungolfed:

interface A {
    static void main(String[] a) throws Exception {
        for (;; Thread.sleep(1000)) System.out.println(new java.util.Date());
    }
}

#Java, 300 166 137 125 124 bytes

Nearly More than halved thanks to VoteToClose, Paülo Ebermann and janschweizer!

interface A{static void main(String[]a)throws Exception{for(;;Thread.sleep(1000))System.out.println(new java.util.Date());}}

Ungolfed:

interface A {
    static void main(String[] a) throws Exception {
        for (;; Thread.sleep(1000)) System.out.println(new java.util.Date());
    }
}

Java, 300 166 137 125 124 bytes

Nearly More than halved thanks to VoteToClose, Paülo Ebermann and janschweizer!

interface A{static void main(String[]a)throws Exception{for(;;Thread.sleep(1000))System.out.println(new java.util.Date());}}

Ungolfed:

interface A {
    static void main(String[] a) throws Exception {
        for (;; Thread.sleep(1000)) System.out.println(new java.util.Date());
    }
}
added 10 characters in body
Source Link
cat
  • 5.9k
  • 2
  • 26
  • 44

#Java, 300 166 137 125125 124 bytes

Nearly More than halved thanks to VoteToClose, Paülo Ebermann and janschweizer!

interface A{static void main(String[] aString[]a)throws Exception{for(;;Thread.sleep(1000))System.out.println(new java.util.Date());}}

Ungolfed:

interface A {
    static void main(String[] a) throws Exception {
        for (;; Thread.sleep(1000)) System.out.println(new java.util.Date());
    }
}

#Java, 300 166 137 125 bytes

Nearly More than halved thanks to VoteToClose, Paülo Ebermann and janschweizer!

interface A{static void main(String[] a)throws Exception{for(;;Thread.sleep(1000))System.out.println(new java.util.Date());}}

Ungolfed:

interface A {
    static void main(String[] a) throws Exception {
        for (;; Thread.sleep(1000)) System.out.println(new java.util.Date());
    }
}

#Java, 300 166 137 125 124 bytes

Nearly More than halved thanks to VoteToClose, Paülo Ebermann and janschweizer!

interface A{static void main(String[]a)throws Exception{for(;;Thread.sleep(1000))System.out.println(new java.util.Date());}}

Ungolfed:

interface A {
    static void main(String[] a) throws Exception {
        for (;; Thread.sleep(1000)) System.out.println(new java.util.Date());
    }
}
deleted 68 characters in body
Source Link
cat
  • 5.9k
  • 2
  • 26
  • 44

#Java, 300 166 137137 125 bytes

Nearly More than halved thanks to @VoteToClose & @PaüloVoteToClose, Paülo Ebermann!

This is the first time I've ever written Java and... wow. Just wow. janschweizer!

import java.util.*;interfaceinterface A{static void main(String[]aString[] a)throws Exception{for(;;;;Thread.sleep(1000){)System.out.println(new java.util.Date());Thread.sleep(1000);}}}

Ungolfed:

import java.util.*;
interface A {
    static void main(String[] a) throws Exception {
        for (;;) {
           Thread.sleep(1000)) System.out.println(new java.util.Date());
            Thread.sleep(1000);
        }
    }
}

#Java, 300 166 137 bytes

Nearly More than halved thanks to @VoteToClose & @Paülo Ebermann!

This is the first time I've ever written Java and... wow. Just wow.

import java.util.*;interface A{static void main(String[]a)throws Exception{for(;;){System.out.println(new Date());Thread.sleep(1000);}}}

Ungolfed:

import java.util.*;
interface A {
    static void main(String[] a) throws Exception {
        for (;;) {
            System.out.println(new Date());
            Thread.sleep(1000);
        }
    }
}

#Java, 300 166 137 125 bytes

Nearly More than halved thanks to VoteToClose, Paülo Ebermann and janschweizer!

interface A{static void main(String[] a)throws Exception{for(;;Thread.sleep(1000))System.out.println(new java.util.Date());}}

Ungolfed:

interface A {
    static void main(String[] a) throws Exception {
        for (;; Thread.sleep(1000)) System.out.println(new java.util.Date());
    }
}
deleted 81 characters in body
Source Link
cat
  • 5.9k
  • 2
  • 26
  • 44
Loading
halved thanks to VoteToClose and PauloEbermann
Source Link
cat
  • 5.9k
  • 2
  • 26
  • 44
Loading
Source Link
cat
  • 5.9k
  • 2
  • 26
  • 44
Loading