How To Input String With Spaces In Java Using Methods From A Different