---
// ch04_ex02.javaimport java.util.*;
class ch04_ex02 {
ch04_ex02() {
System.out.println( "Creating a ch04_ex02" );
}
ch04_ex02(String s) {
System.out.println( "Creating a ch04_ex02: " + s );
}public static void main( String[] args ) {
ch04_ex02 o = new ch04_ex02( "... not really ;)" );
}
}
---
17:14 -- starting Lisp version
17:16 -- stopping. As I mentioned for 4.1, Lisp doesn't really have a constructor idea in the same way Java does, so I'll have to think further about how (and why, and if) one might want to do something like this in CLOS, and how it might look.
Also have to shower 'cause my wife will probably get home soon. :)