Bruce Eckel 49edcc8b17 reorg
2015-06-15 17:47:35 -07:00

15 lines
372 B
Java

//: patterns/trash/Glass.java
// ©2015 MindView LLC: see Copyright.txt
// The Glass class with prototyping.
package patterns.trash;
public class Glass extends Trash {
private static double val = 0.23f;
public Glass(double wt) { super(wt); }
@Override
public double value() { return val; }
public static void value(double newVal) {
val = newVal;
}
} ///:~