package sample.evolve; import java.io.*; import java.util.*; /** * Updatable class. DemoServer instantiates this class and calls * show() on the created object. */ // WebPage.class.0 public class WebPage { public void show(OutputStreamWriter out) throws IOException { Calendar c = new GregorianCalendar(); out.write(c.getTime().toString()); out.write("
Return to the home page."); } } /* // WebPage.class.1 public class WebPage { public void show(OutputStreamWriter out) throws IOException { out.write("
Return to the home page."); } } */