Contoh Kode Prosedural Pemrograman

import java.util.*;

public class Game
{
  public static void main(String[] args)
  {
    Random rand = new Random(System.currentTimeMillis());
    int[] D = Card.makeDeck();
    Card.shuffle(D,rand);
    for(int top = 0; top < D.length; top++)
      System.out.println(Card.cardToString(D[top]));
  }
}
Condemned Crocodile