Search:

Type: Posts; User: HJarausch

Search: Search took 0.12 seconds.

  1. Re: How to protect a parameter beeing modified

    Many thanks for explaining this.

    FLAMES ON
    But let me say that this is fundamental flaw of Java.
    The same is with the lack of "constant" or "final" methods.
    /FLAMES OFF
  2. Re: How to protect a parameter beeing modified

    I thought that declaring the parameter V as final would make any assignments to any element of the array V illegal.
    If this does not work how can I protect a parameter of a method from being...
  3. How to protect a parameter beeing modified

    Hi,

    I'm a total beginner with Java - coming from C++
    In the code snippet below, I want to protect the parameter 'V" in method display
    from beeing modified. How can this be achieved (the...
Results 1 to 3 of 3