[Solved] Java: Move string literals to constant [closed]


If you are using Eclipse, simply follow below steps:

  1. Right click on src folder(folder containing java files) of project
  2. Navigate to Source -> Externalize Strings..
  3. Click Ok

and you are done.

solved Java: Move string literals to constant [closed]