Control is not waiting to read for string object in JAVA programming : [**What is the problem with this code? When I execute it control is waiting to read.**][1]


  [1]: http://i.stack.imgur.com/ZZstQ.png