Skip to main content
Syntax Coloring
Source Link
Justin
  • 21.3k
  • 9
  • 67
  • 114

Java, 54 characters

Best attempt in Java:

class A{static{for(int i=0;i<1;)System.out.print(1);}}
class A{static{for(int i=0;i<1;)System.out.print(1);}}

Java, 54 characters

Best attempt in Java:

class A{static{for(int i=0;i<1;)System.out.print(1);}}

Java, 54 characters

Best attempt in Java:

class A{static{for(int i=0;i<1;)System.out.print(1);}}
deleted 2 characters in body
Source Link
Rich Smith
  • 441
  • 3
  • 3

Java, 5654 characters

Best attempt in Java:

class A{static{for(int i=0;i<1;)System.out.print("."1);}}

Java, 56 characters

Best attempt in Java:

class A{static{for(int i=0;i<1;)System.out.print(".");}}

Java, 54 characters

Best attempt in Java:

class A{static{for(int i=0;i<1;)System.out.print(1);}}
Source Link
Rich Smith
  • 441
  • 3
  • 3

Java, 56 characters

Best attempt in Java:

class A{static{for(int i=0;i<1;)System.out.print(".");}}