Skip to content

Instantly share code, notes, and snippets.

int[] arr = new int[140];
//int alpha=0;
int w = 10;
int h = 400;
boolean sorting = false;
void setup(){
size(1400,400);
setArr();
frameRate(10);
import java.util.*;
public class password
{
public password()
{
Scanner sc = new Scanner(System.in);
import java.util.*;
public class FunPrimes
{
public FunPrimes()
{
LinkedList list = new LinkedList();
Scanner sc = new Scanner(System.in);
boolean playing = true;
import java.util.*;
public class shifting
{
public shifting()
{
Scanner sc = new Scanner(System.in);
int[] sample = {1,2,3,4,5};
System.out.println("Array: " + Arrays.toString(sample));
System.out.println("Shift by how many?");
int shiftInt = sc.nextInt();