compiler optimization

2000-06-07 Thread David Blankley
I went on an interview last week and was thrown this question: what is wrong/sub-optimal with the following code: public class someClass { /* * some methods, etc */ public boolean myBool = false; } Of course, since booleans default to false, it would be "better" to code as: public boolean myBoo

jini

2000-06-07 Thread David Blankley
Has anyone successful set-up jini on their linux box?? Whenever I try to start the jini registry I get a bunch of errors. RMI is working fine tho. Any suggestions/successful configurations/tips would be appreciated. Thanks, Dave Blankley ...

RE: Java3D and 'main()'

1999-07-09 Thread David Blankley
I haven't tested under 1.2 yet, but a similar problem exists in v1.1.7 Maybe I'm misunderstanding threads, but the following code will go through the run method once and exit: Unfortunately, I'm doing this code from memory so it might not be perfect... import jav