Originally posted by Henry Wong:
Unfortunately, I think you need to learn classes and object first. With Scheme, functions are first class entities. You can assigned them to variables. You can pass them other functions. etc.
In Java, this is not true. Functions (actually, call methods) are part of classes, or instances of classes.
Henry
Ok, then I have to be in a class environment. Where do I put the method?
Is it like:
or
For the first one, where should I put the main function? Can you give a simple example?
Thanks for the fast reply. I really appreciate any help.