----- Original Message ----- From: "Galbreath, Mark" <[EMAIL PROTECTED]> To: "Struts (E-mail)" <[EMAIL PROTECTED]> Sent: Saturday, June 22, 2002 6:33 AM Subject: Saturday (EST) Java Trivia
> 1. What is the difference between a pointer and a reference? Nothing. > 2. If Java does not have pointers, what is a NullPointerException? Java has pointers, it just doesn't have pointer arithmetic (i.e. you can't change the pointer's value). Perhaps we should think of Java's references as immutable pointers. -Max -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>