<?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 Re: information regarding multiple inheritance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135646#M745045</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Multiple inheritance is an idea where more than one class can be a superclass of a class.  This is used in C++, for example.  In Java and ABAP, the designers of the programming language decided this was a BAD idea, leading to ambiguity and contradiction - and therefore, programs that are more complicated and expensive to maintain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the biggest reason is: the clever people at SAP decided not to allow multiple inheritance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 27 Dec 2007 14:06:01 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2007-12-27T14:06:01Z</dc:date>
    <item>
      <title>information regarding multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135644#M745043</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Plz could any one explain me about why multiple inheritance is not used in sap..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks  in advance,&lt;/P&gt;&lt;P&gt;Sana..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 04:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135644#M745043</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T04:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: information regarding multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135645#M745044</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;we need not to use multiple inheritence in ABAP because we are using Interfaces.&lt;/P&gt;&lt;P&gt;Interfaces are independent structures that you can implement in a class to extend the scope of that class. &lt;/P&gt;&lt;P&gt;a universal point of contact. &lt;/P&gt;&lt;P&gt;They provide one of the pillars of polymorphism, since they allow a single method within an interface to behave differently in different classes. &lt;/P&gt;&lt;P&gt;Global &amp;amp; Local Interfaces&lt;/P&gt;&lt;P&gt;	The definition of a local interface &amp;lt;intf&amp;gt; is enclosed in the statements:&lt;/P&gt;&lt;P&gt;	INTERFACE &amp;lt;intf&amp;gt;.&lt;/P&gt;&lt;P&gt;	...&lt;/P&gt;&lt;P&gt;	ENDINTERFACE.&lt;/P&gt;&lt;P&gt;The definition contains the declaration for all components (attributes, methods, events) of the interface. &lt;/P&gt;&lt;P&gt;They automatically belong to the public section &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please reward points, if it is useful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;satish.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 05:57:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135645#M745044</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-27T05:57:03Z</dc:date>
    </item>
    <item>
      <title>Re: information regarding multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135646#M745045</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Multiple inheritance is an idea where more than one class can be a superclass of a class.  This is used in C++, for example.  In Java and ABAP, the designers of the programming language decided this was a BAD idea, leading to ambiguity and contradiction - and therefore, programs that are more complicated and expensive to maintain.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, the biggest reason is: the clever people at SAP decided not to allow multiple inheritance.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 27 Dec 2007 14:06:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135646#M745045</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2007-12-27T14:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: information regarding multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135647#M745046</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Hi ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;ABAP Objects does not support multiple inheritance to make it as simple as possible.&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;In multiple inheritance,&amp;nbsp; If the classes a2 and a3 inherit from a class a1, both contain all the components of a1. Now, if class a4 becomes a subclass of both a2 and a3, the problem arises of how to merge the original components of a1 into a4.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Thanks&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&lt;SPAN style="font-style: inherit; font-family: inherit;"&gt;Santosh&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2012 06:29:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135647#M745046</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-05-21T06:29:53Z</dc:date>
    </item>
    <item>
      <title>Re: information regarding multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135648#M745047</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP doesn't support Multiple Inheritance from classes, but you can achieve the similar functionality using Interfaces. Check out &lt;A href="http://zevolving.com/2012/05/abap-objects-achieve-multiple-inheritance-using-interfaces/"&gt;ABAP Objects – Achieve Multiple Inheritance using Interfaces&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only thing you can't achieve using this workaround is the redefinition on the methods in the concrete class if you wish to use the default functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;BR /&gt;Naimesh Patel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 May 2012 14:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/information-regarding-multiple-inheritance/m-p/3135648#M745047</guid>
      <dc:creator>naimesh_patel</dc:creator>
      <dc:date>2012-05-22T14:28:04Z</dc:date>
    </item>
  </channel>
</rss>

