java string length method example

java string length method example