So for example lets say I used the console line
java AddPerson -c <sin> -g <gender> -age <age> -y <year> [-w <when>]
The inputs can be in any order and the -w input is optional.
My goal is to take these variables and add them to a database but I cant figure out how to find and store the inputted variables.
This is the 'pseudo-code' for what I have.
public AddPerson (String[] args) {
//connection to db
public boolean newPerson(){
}
}