Random
Source Code

void main()

archaic term replaced by int main()return 0; It did not allow for an exit status.

/* Will Greenhalgh 7.23.2003 */
/* Infinite loop */

#include <stdio.h>
int main(void)
{
for(;;)
{
fprintf(stdout,"Infinite loop\n");
}
return 0;
}

by Will Greenhalgh July 23, 2003

23πŸ‘ 10πŸ‘Ž


void main()

it means you are so stupid that u r 1 pill shy of an excedrin bottle

you f'n void main()

by thug4life January 27, 2003

9πŸ‘ 31πŸ‘Ž


public static void main(String[] args){

The most annoying line a beginner Java programmer has to type in each one of their programs. This is also the line where most n00bish typos appear.

Comparison of Java to QBASIC

Java:

public class PrintHi{
public static void main(String args){
System.out.println("Hi");
}
}

QBASIC:

?"Hi"

Hmm, 95 characters or 5? Tough choice.

by no_one_2000 February 22, 2005

252πŸ‘ 116πŸ‘Ž


public static void main string args

The thing I have to write in Java to do fuck all

// example of public static void main string args

import java.util.scanner;

public class Main {

private int num = 4;

public static void main(String args) {

Scanner inp = new Scanner(System.in);

System.out.println("Enter Name: ");

String name = inp.nextLine();

System.out.println("Hi", name, "! your number is " num, ".");

}

}

by AlexcΓ­an Empire Thingy May 12, 2024