#2
|
||||
|
||||
Re: Lazy Programming
The shortest of them all (Java, VB):
Code:
while (true){} Code:
Do Loop Well, you can also have fun with this one (Java, VB): Code:
public void stacker(){ stacker();} Code:
Public Sub Stacker() Call Stacker End Sub |
#3
|
||||
|
||||
Re: Lazy Programming
It's like that:
Code:
/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package test; /** * * @author jirachifan */ public class Main { /** * @param args the command line arguments */ private static int n = 0; public static void main(String[] args) { String[] a = args; System.out.println(n++); main(a); } } |
|