Python Assignment-3 (Unit 3)
Answer the following questions in detail. Add suitable example wherever necessary.
1. Explain constructor having more than one parameter with an example.
2. Discuss instance and static variables with example.
3. Write short note on Namespaces.
4. Explain the concept of Inheritance with suitable example.
5. Write a program to override superclass constructor and method in subclass.
6. Discuss the use of super keyword with an example.
7. Explain multiple inheritances with suitable example.
8. Discuss method resolution order in multiple inheritances.
9. Explain method overloading.
10. Explain operator overloading.
11. Explain method overriding.
12. Explain abstract data types.
13. Discuss Encapsulation and Information Hiding.
14. Discuss Generators.