<?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 one question about method and static method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-question-about-method-and-static-method/m-p/10535305#M1855627</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If all the variables in a method are global variables/class-data/constants and no importing parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What's the difference between it is defined as a static method or a normal one?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 26 Jul 2014 08:33:21 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-07-26T08:33:21Z</dc:date>
    <item>
      <title>one question about method and static method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-question-about-method-and-static-method/m-p/10535305#M1855627</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;If all the variables in a method are global variables/class-data/constants and no importing parameter.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;What's the difference between it is defined as a static method or a normal one?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jul 2014 08:33:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-question-about-method-and-static-method/m-p/10535305#M1855627</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-26T08:33:21Z</dc:date>
    </item>
    <item>
      <title>Re: one question about method and static method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-question-about-method-and-static-method/m-p/10535306#M1855628</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ming Yu, &lt;/P&gt;&lt;P&gt; For this case, we won't find any difference in static method and normal(Instance) method based on variable. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; But basic difference in calling the method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Static Method &lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To call static method, it is not required to create the object for the class. Also static method won't support polymorphism. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CLASS1=&amp;gt;METHOD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Instance Method&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;To call normal method(Instance), It is required to have the object for the class. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OBJ-&amp;gt;METHOD1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rajkumar Narasimman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 26 Jul 2014 09:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-question-about-method-and-static-method/m-p/10535306#M1855628</guid>
      <dc:creator>rajkumarnarasimman</dc:creator>
      <dc:date>2014-07-26T09:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: one question about method and static method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-question-about-method-and-static-method/m-p/10535307#M1855629</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can't override a static method.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 27 Jul 2014 05:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-question-about-method-and-static-method/m-p/10535307#M1855629</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2014-07-27T05:45:00Z</dc:date>
    </item>
  </channel>
</rss>

