title: What does java call the char arrays it stores strings in?
body: <p>In Java a string literal is stored as number of chars in an array, what is the naming convention of the arrays and the pointers of the String object that points to the arrays in question? Java docs seem to suggest they are named the same, in the following case "data". Quotation from Java doc v 12:</p>
  
  <p>"String str = "abc";</p>
  
  <p>is equivalent to:</p>
  
  <p>char data[] = {'a', 'b', 'c'};
  String str = new String(data);"</p>
  
  <p>I hope that is clearer. I have been looking all over for an answer.</p>