Originally posted by: JetBlack69
Originally posted by: Gobadgrs
I stole it while you were giving me help in java 😉
public class getCreditCardNumber{
public static void main(String [] args){
int JetBlack69_CC_num = 0123456789;
int CCBalance = 10000;
Theif someJerk = new Theif();
for(int i = 0; i <= CCBalance; CCBalance--){
someJerk.buyStuff();
}
}
}
public class Theif{
Object stuff [] = new Object [10000];
int stuffnum = 0;
public theif(){}
public void buyStuff(){
stuff[stuffnum] = new Object();
stuffnum++;
}
}
You forgot to throw an overTheLimit exception. It's a runtime error that I got after I maxed out your card 😉