Queries
System . out . print ( printCharacter ( str , 1 , 2 , 2 ) + "NEW_LINE"); updateString ( str . toCharArray ( ) , 4 , ' g ' ) ; System . out . print ( printCharacter ( str , 1 , 5 , 4 ) + "NEW_LINE"); } }