Java is procedural programming. code example
Example: procedural programming Java code example
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]));
}
}