#include &lt;iostream&gt;    using namespace std;    class MyInterface     &#123;        public:        virtual void Display&#40;&#41; = 0;    &#125;;    class Class1 : public MyInterface     &#123;        public:        void Display&#40;&#41;         &#123;            int  a = 5;            cout &lt;&lt; a;        &#125;    &#125;;    class Class2 : public MyInterface     &#123;        public:        void Display&#40;&#41;        &#123;            cout &lt;&lt;&quot; 5&quot; &lt;&lt; endl;        &#125;    &#125;;    int main&#40;&#41;    &#123;        Class1 obj1;        obj1.Display&#40;&#41;;        Class2 obj2;        obj2.Display&#40;&#41;;        return 0;    &#125;
A. 5
B. 10
C. 5 5
D. None of the mentioned
Answer:A
#include &lt;iostream&gt;    using namespace std;    class MyInterface     &#123;        public:        virtual void Display&#40;&#41; = 0;    &#125;;    class Class1 : public MyInterface     &#123;        public:        void Display&#40;&#41;         &#123;            int  a = 5;            cout &lt;&lt; a;        &#125;    &#125;;    class Class2 : public MyInterface     &#123;        public:        void Display&#40;&#41;        &#123;            cout &lt;&lt;&quot; 5&quot; &lt;&lt; endl;        &#125;    &#125;;    int main&#40;&#41;    &#123;        Class1 obj1;        obj1.Display&#40;&#41;;        Class2 obj2;        obj2.Display&#40;&#41;;        return 0;    &#125;
A. 5 B. 10 C. 5 5 D. None of the mentioned