<?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: multiple inheritance in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962409#M67749</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP does not support multiple inheritance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the following link.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;ABAP Objects does not support multiple inheritance, because one of the main design goals for ABAP Objects was to make it as simple as possible. With multiple inheritance (available in C++ or Eiffel), a subclass can inherit directly from more than one class. This inheritance relationship is a network instead of a tree. In multiple inheritance, the rules for the namespace of components become much more complicated and may lead to naming collisions. Another problem is the so-called diamond inheritance problem: If the classes c2 and c3 inherit from a class c1, both contain all the components of c1. Now, if class c4 becomes a subclass of both c2 and c3, the problem arises of how to merge the original components of c1 into c4. However, ABAP Objects supports most of the benefits of multiple inheritance (such as the reuse of common interfaces and a wider scope polymorphism) by the separate concept of interfaces, which circumvents naming collision and the diamond inheritance problem.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.intelligententerprise.com/channels/applications/feature/archive/keller.jhtml" target="test_blank"&gt;http://www.intelligententerprise.com/channels/applications/feature/archive/keller.jhtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't forget to award points for helpful answers. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Aug 2005 19:34:47 GMT</pubDate>
    <dc:creator>RichHeilman</dc:creator>
    <dc:date>2005-08-01T19:34:47Z</dc:date>
    <item>
      <title>multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962408#M67748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;With ABAP Objects can you have multiple inheritance similar to C++&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2005 19:32:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962408#M67748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-01T19:32:07Z</dc:date>
    </item>
    <item>
      <title>Re: multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962409#M67749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ABAP does not support multiple inheritance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the following link.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;i&amp;gt;ABAP Objects does not support multiple inheritance, because one of the main design goals for ABAP Objects was to make it as simple as possible. With multiple inheritance (available in C++ or Eiffel), a subclass can inherit directly from more than one class. This inheritance relationship is a network instead of a tree. In multiple inheritance, the rules for the namespace of components become much more complicated and may lead to naming collisions. Another problem is the so-called diamond inheritance problem: If the classes c2 and c3 inherit from a class c1, both contain all the components of c1. Now, if class c4 becomes a subclass of both c2 and c3, the problem arises of how to merge the original components of c1 into c4. However, ABAP Objects supports most of the benefits of multiple inheritance (such as the reuse of common interfaces and a wider scope polymorphism) by the separate concept of interfaces, which circumvents naming collision and the diamond inheritance problem.&amp;lt;/i&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check out this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.intelligententerprise.com/channels/applications/feature/archive/keller.jhtml" target="test_blank"&gt;http://www.intelligententerprise.com/channels/applications/feature/archive/keller.jhtml&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please don't forget to award points for helpful answers. Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2005 19:34:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962409#M67749</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2005-08-01T19:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962410#M67750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think that's in the form of interfaces.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards,&lt;/P&gt;&lt;P&gt;anand.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2005 19:35:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962410#M67750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-01T19:35:45Z</dc:date>
    </item>
    <item>
      <title>Re: multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962411#M67751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;ABAP Obects are more simular to Java. Single inheretance is done by superclass-subclass.&lt;/P&gt;&lt;P&gt;CLASS &amp;lt;subclass&amp;gt; DEFINITION INHERITING FROM &amp;lt;superclass&amp;gt;.&lt;/P&gt;&lt;P&gt;Multiply inheritance is done by interfaces.&lt;/P&gt;&lt;P&gt;INTERFACES &amp;lt;intf&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_me21sp2/helpdata/en/c3/225b5c54f411d194a60000e8353423/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_me21sp2/helpdata/en/c3/225b5c54f411d194a60000e8353423/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Svetlin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2005 19:36:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962411#M67751</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-01T19:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: multiple inheritance</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962412#M67752</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for the responses have awarded points&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Aug 2005 19:57:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multiple-inheritance/m-p/962412#M67752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-08-01T19:57:40Z</dc:date>
    </item>
  </channel>
</rss>

