Search:

Type: Posts; User: Norm

Search: Search took 0.10 seconds.

  1. Re: Java Class : How do I set up a toString method for arrays?

    Sorry, you need to use the javac compiler to get good compiler error messages. The error messages I get compiling your code have nothing to do with the length attribute.
  2. Re: Java Class : How do I set up a toString method for arrays?

    What you posted is an execution time error, not a compiler error. There is no stack trace for compiler errors.

    Can you post the full text of the compiler error message? The error messages I get...
  3. Re: Java Class : How do I set up a toString method for arrays?

    Please post the full text of the compiler's error message.
  4. Re: Java Class : How do I set up a toString method for arrays?

    Have you coded the class and compiled it? What happened?
    Have you tried the code in post#1?
  5. Re: Java Class : How do I set up a toString method for arrays?

    For that to work, concat() needs to return a TestClass object.
Results 1 to 5 of 5