13 lines
287 B
Java
Raw Normal View History

2015-09-07 11:44:36 -06:00
// patterns/trash/Paper.java
2015-06-15 17:47:35 -07:00
package patterns.trash;
public class Paper extends Trash {
private static double val = 0.10f;
public Paper(double wt) { super(wt); }
@Override
public double value() { return val; }
public static void value(double newVal) {
val = newVal;
}
2015-09-07 11:44:36 -06:00
}