static void createGarbage(int limit) { Garbage gb; for (int i = 0; i < limit; i++) { gb = new Garbage (); //gb = new MoreGarbage (); } }
static void createGarbage(int limit) { Garbage gb; for (int i = 0; i < limit; i++) { gb = new Garbage(); //gb = new MoreGarbage (); } }