struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Bruun <mikkel.br...@valtech.dk>
Subject RE: Java Trivia
Date Fri, 01 Feb 2002 13:44:11 GMT
 Ehh...

primitives vs ojbects???

by value or by ref...

whats the point??

-----Original Message-----
From: Galbreath, Mark
To: Struts (E-mail); J2ee (E-mail)
Sent: 01-02-2002 14:40
Subject: Java Trivia

What's the difference between

int i = 3;
someMethod( i);

and

Point p = new Point( 3, 3);
someOtherMethod( p);

?

Mark

--
To unsubscribe, e-mail:
<mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail:
<mailto:struts-user-help@jakarta.apache.org>

--
To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>


Mime
View raw message