3 Replies Latest reply: Aug 25, 2008 5:31 PM by 807589 RSS

    Returning the length of an array of chars (getting errors)

      This is the code i have and it keeps returning a cannot find symbol variable a error.

      public class myString
      public myString(char[] a){

      public int length(){
      return a.length;


      Thanks in advance for your help