title: Difference between String.length() and String.getBytes().length
body: <p>I am beginner and self-learning in Java programming.
  So, I want to know about difference between <code>String.length()</code> and <code>String.getBytes().length</code> in Java.</p>
  
  <p>What is more suitable to check the length of the string?</p>