title: How I can return multiple values of different data types from a method?
body: <p>I have following method,</p>
  
  <pre><code>public Response process(Applicant appl)
  {
  
      String responseString;
      String requestString;
      requestString = createRequestString(appl);
      responseString = sendRequest(requestString);
      Response response = parseResponse(responseString);
      return response;
  }
  </code></pre>
  
  <p>Here I want to return both responseString  and response, one is of type String and other is an object of class Response. How can I do this?</p>