Deseo borrarme de esta lista. Como debo
hacer?
> We should probably take this discussion to another list as it isn't so
> much java-linux anymore
And therefore, I will try make my final response brief and to the point.
> > Again, it's a matter of semantics. I'm not debating what is actually going on.
>
> "what is actually going on" is i
> > If Java were pass-by-reference, then in this code fragment:
> > String s = "foo";
> > myMethod(s);
> > System.out.println(s);
> >
> > In a pass-by-value only language (like Java), you're going to get
> > "foo" printed out. In a pass-by-reference language, the string that
> > gets print
> If Java were pass-by-reference, then in this code fragment:
> String s = "foo";
> myMethod(s);
> System.out.println(s);
>
> In a pass-by-value only language (like Java), you're going to get
> "foo" printed out. In a pass-by-reference language, the string that
> gets printed depends on if
> Java's parameters are copies. For objects, the value passed happens to be
> a pointer, so you can change the fields within the object to which the
> value points.
Yes, but again, we are "passing the object by reference". The reference is
of course passed by value - since, as I said, there is a
> The "value" of an object could be thought of as a pointer to that object.
> You aren't getting the pointer's address, you're getting it's value.
> It happens to point to the object you want.
>
> It's a matter of semantics.
I've ran into this argument before. For all intents and purposes th
On Sat, 21 Oct 2000, Peter Schuller wrote:
> > Java doesn't pass by reference. You can pass an object, and through that
> > access and change the fields it contains.
>
> Java *does* pass by reference. All objects are passed by reference; primites
> are passed by value.
Not quite.
From the Jav
> Java doesn't pass by reference. You can pass an object, and through that
> access and change the fields it contains.
Java *does* pass by reference. All objects are passed by reference; primites
are passed by value.
--
/ Peter Schuller, InfiDyne Technologies HB
PGP userID: 0x5584BD98 or 'Pet
On Fri, 20 Oct 2000, Pablo Trujillo wrote:
> I need to carry out a variable passage for reference in a function of Java.
> Can somebody help me?
Java doesn't pass by reference. You can pass an object, and through that
access and change the fields it contains.
--
I need to carry out a variable passage for reference in a function of Java.
Can somebody help me?
-
Click here for Free Video!!
http://www.gohip.com/free_video/
--
To UNSUBSCR
Pablo Trujillo wrote:
>
> I am developing a service of e-mail with Java and JSP I am implementing the
> part of file Attachment, something can help me in this topic?.
Take a look at our mail applet MUMail. This is released under the GPL
so, depending on your softwares license you migh
I am developing a service of e-mail with Java and JSP I am implementing the
part of file Attachment, something can help me in this topic?.
-
Click here for Free Video!!
http://www.gohip.com/free_video/
-
Pablo Trujillo wrote:
>
> I need information about CVS
http://www.cvshome.org/
--
Joi EllisSoftware Engineer
Aravox Technologies [EMAIL PROTECTED], [EMAIL PROTECTED]
No matter what we think of Linux versus FreeBSD, etc., the one thing I
really like about
I need information about CVS
-
Click here for Free Video!!
http://www.gohip.com/free_video/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trou
Juergen Kreileder wrote:
> These should be "to execute files". If you want to use shell builtins
> or shell features like redirection you need a shell, e.g.:
>
> Runtime.getRuntime().exec(new String[] {"/bin/sh",
> "-c",
>
> "Urs" == Urs A Schroffenegger <[EMAIL PROTECTED]> writes:
Urs> if you want to execute shell commands, you can use the
These should be "to execute files". If you want to use shell builtins
or shell features like redirection you need a shell, e.g.:
Runtime.getRuntime().exec(new String[
Pablo Trujillo wrote:
>
> I need to execute linux commands from code java. Help
>
if you want to execute shell commands, you can use the Runtime class (in
java.lang.*), with the exec(String command), it returns a new process
executing the system command specified, with th
I need to execute linux commands from code java. Help
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
18 matches
Mail list logo