Diseño de aplicaciones orientadas a objetos
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
package patronInterpreter;
|
|
|
|
public class ThousandExpression extends Expression{
|
|
public String one() { return "M"; }
|
|
public String four(){ return " "; }
|
|
public String five(){ return " "; }
|
|
public String nine(){ return " "; }
|
|
public int multiplier() { return 1000; }
|
|
}
|
|
|