/** * Write a description of class UpdateDisplay here. * * @author (your name) * @version (a version number or a date) */ public class UpdateDisplay { // instance variables - replace the example below with your own private int x; /** * Constructor for objects of class UpdateDisplay */ public UpdateDisplay(Double displayNumber) { // initialise instance variables //x = 0; } /** * An example of a method - replace this comment with your own * * @param y a sample parameter for a method * @return the sum of x and y */ SwitchModes sm = new SwitchModes(); public String UpdateDisplay(Double displayNumber) { String str=""; // update number system based on display mode variable (see SwitchModes class) return str; } }