This commit is contained in:
GordonDaFreeman 2017-09-20 20:00:54 +02:00
parent 7353aa43e3
commit 0a7d070ca9
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,6 @@
package fußballmanager.namegen;
import java.util.ArrayList;
public class Datenbank {
int n = 100;
@ -7,6 +8,7 @@ public class Datenbank {
static int counterVorname = 0;
static int counterBeiname = 0;
static String[] nameFeld;
static ArrayList<String> namen = new ArrayList<String>();//
static String[] vornameFeld;
static String[] beinameFeld;
@ -25,6 +27,8 @@ public class Datenbank {
}
static void nameFeldFüllen(){
namen.add("Günter");//
namen.get(0);//
nameFeld[counterName] = "Guenther";
counterName++;
nameFeld[counterName] = "Schmidt";