public float getValue(String arg,int a){
switch(arg){
case "length":
return a*4;
break;
case "area":
return a*a;
}