I add the -c Washington m "04 15 1990" to the arguments in configurations and the compiler won't recognize the arg
package com.codegym.task.task17.task1710;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
/*
CRUD
*/
public class Solution {
public static List<Person> allPeople = new ArrayList<>();
static {
allPeople.add(Person.createMale("Donald Chump", new Date())); // id=0
allPeople.add(Person.createMale("Larry Gates", new Date())); // id=1
}
public static void main(String[] args) {
// Start here
if (arg[0].equals("-c"))
{
if(arg[2].equals("m"))
{
}
else if(arg[2].equals("f"))
{
}
}
else if (arg[0].equals("-u"))
{
if(arg[3].equals("m"))
{
}
else if(arg[3].equals("f"))
{
}
}
else if (arg[0].equals("-d"))
{
}
else if (arg[0].equals("-i"))
{
}
}
}