title: Sum unicode values of String without API functions, except String.length
body: <p>I have been instructed to write an application summing the Unicode values of a String, without the use of any Java API's except <code>.length</code>.</p>
  
  <p>So basically I have to write the method below without the use of the <code>codePointAt</code> method. I can however write my own utilities, I just have no idea how to do this.</p>
  
  <p>Can someone help me out?    </p>
  
  <pre><code>public static int addChars(String s) {
    int sum = 0;
    int charCount = s.length();
  
    for(int i=0;i&lt;charCount;i++){
       sum += s.codePointAt(i);
    }
  
    return sum;
  }
  </code></pre>