Tagged articles
super
11 articles · Page 1 of 1
This tutorial explains how the super keyword invokes a superclass constructor—both no‑argument and parameterized—illustrates constructor chaining across inheritance hierarchies with concrete Java code examples, and highlights compilation errors when a matching superclass constructor is missing.
InheritanceJavaOOP
0 likes · 9 min read

This article explains Python's method overriding and how to use the super() function to extend parent behavior, then shows how to simulate method overloading with the multipledispatch library and @dispatch decorator, providing clear code examples and a concise comparison of the two concepts.
Method OverloadingOOPmethod overriding
0 likes · 6 min read

This article explains Python class inheritance—from basic single inheritance and method overriding to polymorphism, super() calls, multiple inheritance, and design‑pattern implementations—providing code examples, usage scenarios, and best‑practice recommendations for writing reusable, extensible object‑oriented code.
InheritanceOOPPolymorphism
0 likes · 10 min read

This guide explores Python class fundamentals, covering inheritance versus composition, the use of super(), distinctions among instance, class, and static methods, dataclasses, the __dict__ attribute, name mangling, @property, dynamic class creation with type(), and __slots__ for attribute control.
ClassesCompositionInheritance
0 likes · 9 min read

This article explains how Python's super() works by invoking the next class in the Method Resolution Order (MRO), demonstrates MRO behavior with multiple inheritance examples, and presents advanced techniques such as metaclasses, descriptors, class decorators, __slots__, and singleton patterns.
DescriptorMROMetaclass
0 likes · 8 min read

TypeScript 4.6 introduces several language enhancements such as executing code before super(), improved control‑flow analysis for discriminated unions and dependent parameters, a new Trace Analyzer tool, ES2022 target support, and stricter syntax checking for JavaScript files, all accompanied by illustrative code examples.
ES2022Trace AnalyzerTypeScript
0 likes · 4 min read

This article explains Python's object‑oriented fundamentals, covering class and instance attributes, instance, class and static methods, inheritance techniques, the super() function, and the @property decorator, each illustrated with clear code examples.
InheritanceOOPProperty
0 likes · 4 min read

This article explains the fundamentals of Python class inheritance, covering five typical ways to use parent class attributes and methods—including direct calls, super() for private members, method overriding, invoking __init__, and passing initialization parameters—accompanied by clear code examples.
InheritancePythonclass
0 likes · 6 min read

This article explains how Python's super() function works, its syntax differences between Python 2 and 3, provides code examples, and details how the method resolution order (MRO) determines the sequence of parent class method calls in single and multiple inheritance scenarios.
InheritanceMROOOP
0 likes · 6 min read

This article explains Java inheritance, the use of extends, super and this keywords, protected members, method overriding, and constructor chaining, illustrating concepts with clear code examples and diagrams to show base and derived class relationships.
JavaOOPProtected
0 likes · 10 min read

This article explains Python's object‑oriented programming fundamentals, introduces classes and instances, details how inheritance works, discusses its advantages and disadvantages—including issues with built‑in type subclassing—and offers practical guidance on multiple inheritance, method resolution order, and using super.
Abstract Base ClassInheritanceMRO
0 likes · 10 min read
