title: How to return two strings in one return statement?
body: <pre><code>public String[] decode(String message)
  {
       String ans1 = "hey"; 
       String ans2 = "hi";  
       return {ans1 , ans2};  // Is it correct?
  }
  </code></pre>
  
  <p>This above example does not work properly. I am getting a error. </p>
  
  <p>How can I achieve the initial question? </p>