We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
+ Link For Assignments, GDBs & Online Quizzes Solution
+ Link For Past Papers, Solved MCQs, Short Notes & More
Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion
How to Add New Discussion in Study Group ? Step By Step Guide Click Here.
Graded Discussion BoardDated:Feb 07, 19
I hope you will be fine and will enjoying studies. Please note that Graded Discussion will be launched next week on Wednesday, February 13, 2019 and it will remain open for two days (13th and 14th February, 2019). You should prepare and post your comments on below mentioned topic till the end of Thursday February 14, 2019.
Graded Discussion Topic:
A programmer can extend the functionality and re-usability of classes using Multiple Inheritance. If it is useful in C++ then why modern object oriented languages like Java, VB.NET and C# do not support multiple Inheritance. Justify your answer with solid reasons.
Special Note: Please note that Concise and Coherent comments will be appreciated. Lengthy comments can cause deduction in marks.
.+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)
+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)+ Click Here to Search (Looking For something at vustudents.ning.com?) + Click Here To Join (Our facebook study Group)
There are couple of problems with multiple inheritance and the most obvious problem is with function overriding.
Let assume you have 2 classes A and B. both have defined function doSomething(). Now you define a third class C, which inherits from both A and B, but you don't override the doSomething() method. When the compiler seed this code...
C c = new C();which implementation of the method should it use?
Without any further clarification, it's impossible for the compiler to resolve the ambiguity.
This problem is also known as Diamond Problem.
The 2nd big problem with multiple inheritance beside function over-riding is the layout of the
physical objects in memory.
For More Depth Knowledge READ This Article
Please Discuss here about this GDB.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>
Discussed & be touched with this discussion. After discussion a perfect solution will come in a result at the end.
P.S: Please always try to add the discussion in proper format title like “CS101 Assignment / GDB No 01 Solution & Discussion Due Date: ___________”
Share below link with friends for solution & Discussion.