/** * Write a description of class UsesTextIO here. * * @author (your name) * @version (a version number or a date) */ public class UsesTextIO { TextIO text = new TextIO(); /** * Constructor for objects of class UsesTextIO */ public UsesTextIO(TextIO t) { // initialise instance variables text = t; } public double readDouble(double d){ return text.readDouble(text.open(("d"))); } }