我有以下方法,
public Response process(Applicant appl)
{
String responseString;
String requestString;
requestString = createRequestString(appl);
responseString = sendRequest(requestString);
Response response = parseResponse(responseString);
return response;
}
这里我想同时返回 responseString 和 response,一个是 String 类型,另一个是 Response 类的对象。我怎样才能做到这一点?