title: Way to format strings with "?" parameters to full string in java?
body: <p>For example I want to implement class with method</p>
  
  <pre><code>public class Logger {
  
      public void info(String message, String[] params) {
      }
  }
  </code></pre>
  
  <p>If input is </p>
  
  <pre><code>new Logger().info("Info: param1 is ? , param2 is ?", new  String[] {"a", "b"});
  </code></pre>
  
  <p>Output must be </p>
  
  <pre><code>Info: param1 is a , param2 is b
  </code></pre>
  
  <p>What is the easiest way to implement it?</p>