Looks nice, but I get this:
Code:client.java:31: cannot find symbol symbol : constructor Date() location: class java.sql.Date String date = sdf.format(new Date()); ^ Note: Some input files use or override a deprecated API. Note: Recompile with -Xlint:deprecation for details. 1 error Press any key to continue . . .