Search:

Type: Posts; User: Norm

Search: Search took 0.11 seconds.

  1. Re: JAVA - Swap two string in a method without built-in functions

    A method can not change the values of the variables used in its call.
    It can change the contents of an array or of a class object that is passed to it if the object allows it.
  2. Re: JAVA - Swap two string in a method without built-in functions

    swap is not a built-in method.


    swap(str,str2);
    Note: the swap method will NOT change the values of str or str2

    Naming conventions say variable names and method names should start with a...
Results 1 to 2 of 2