<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Return in Java?? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-in-java/m-p/3933943#M941673</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a problem: I have in my method()&lt;/P&gt;&lt;P&gt;String t = results[2];&lt;/P&gt;&lt;P&gt;String d = results[0];&lt;/P&gt;&lt;P&gt;with return t + d;&lt;/P&gt;&lt;P&gt;And I want to import it to other method1(). How can I do that??&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 02 Jun 2008 13:11:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-06-02T13:11:51Z</dc:date>
    <item>
      <title>Return in Java??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-in-java/m-p/3933943#M941673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;I have a problem: I have in my method()&lt;/P&gt;&lt;P&gt;String t = results[2];&lt;/P&gt;&lt;P&gt;String d = results[0];&lt;/P&gt;&lt;P&gt;with return t + d;&lt;/P&gt;&lt;P&gt;And I want to import it to other method1(). How can I do that??&lt;/P&gt;&lt;P&gt;Thanks!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 13:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-in-java/m-p/3933943#M941673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T13:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Return in Java??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-in-java/m-p/3933944#M941674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's a few suggestions:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use Google to search for Java help&lt;/P&gt;&lt;P&gt;Use the search here at SDN if Google doesn't help&lt;/P&gt;&lt;P&gt;If you really need to ask the question, try to post it to the correct area, like Java programming for instance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gareth.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;p.s. If I undersand your question correctly, you want to return a string from method() to method1()?  If so try something like:-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;public String methodOne(ArrayList results){
String t = results[2];
String d = results[0];
return t + d;
}

public void methodTwo(){
String otherString = methodOne(resultsList);
}&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Or something like that - I've just made it up as I haven't written Java for a while &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 13:18:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-in-java/m-p/3933944#M941674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-02T13:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Return in Java??</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/return-in-java/m-p/3933945#M941675</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Andrei.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As your posting's subjects shows you have a Java question. This forum is only focusing on ABAP development. I would like to ask you to ask your question in the Java forum but I've seen that you already asked there, too. Therefore I would like to mention that we ask everyone not to double post questions in several forums.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I will close this thread. Please focus on the best suiting forum.&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Jan Stallkamp&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Jun 2008 13:18:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/return-in-java/m-p/3933945#M941675</guid>
      <dc:creator>JanStallkamp</dc:creator>
      <dc:date>2008-06-02T13:18:37Z</dc:date>
    </item>
  </channel>
</rss>

