Consider multiple inheritances here. Suppose class c inherits from classes a and b as class c(a,b). Classes a and b both have their own versions of method func(). If we call func() from an object of class c, which version gets invoked?


No Answer is Posted For this Question
Be the First to Post Answer

Post New Answer

More Python Interview Questions

Is python a shell?

0 Answers  


What is module in python?

0 Answers  


Whenever python exits, why isn’t all the memory de-allocated?

0 Answers  


Where can I learn python for free?

0 Answers  


Does python have do-while loop statements?

0 Answers  






What is the difference between while and for loop?

0 Answers  


Explain different ways to create an empty numpy array in python?

0 Answers  


What are the python types?

0 Answers  


Can a set be sorted python?

0 Answers  


Is python better than matlab?

0 Answers  


How do I call a method defined in a base class from a derived class that overrides it?

0 Answers  


What is python? What are the benefits of using python? What do you understand of pep 8?

0 Answers  


Categories