Tagged articles
16 articles
Page 1 of 1
Lisa Notes
Lisa Notes
Apr 24, 2026 · Fundamentals

Java Inheritance from Scratch: Stage‑2 AI Learning Notes

This note explains Java inheritance, covering the single‑inheritance class hierarchy, a Car class example, a ChildCar subclass that adds a load field, and eight key inheritance capabilities such as member reuse, method overriding, and constructor chaining, illustrating why inheritance improves code reuse and quality.

Class HierarchyConstructorInheritance
0 likes · 7 min read
Java Inheritance from Scratch: Stage‑2 AI Learning Notes
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Dec 25, 2025 · Fundamentals

Overloads vs Overrides in Java: When and How They Differ

This article explains the distinction between method overloading and method overriding in Java, covering their definitions, how the compiler or runtime selects the appropriate method, differences in method signatures, return types, and timing, and provides clear code examples for each concept.

JavaMethod OverloadingMethod Overriding
0 likes · 5 min read
Overloads vs Overrides in Java: When and How They Differ
php Courses
php Courses
Apr 30, 2025 · Backend Development

Understanding Polymorphism in PHP: Types, Code Examples, and Practical Applications

This article explains PHP's polymorphism—covering method overriding, simulated method overloading, interface polymorphism, traits, abstract classes, magic methods, and performance considerations—while providing clear code examples and discussing real‑world uses such as plugin systems, testing mocks, middleware, and strategy patterns.

Design PatternsInterfacesMethod Overriding
0 likes · 9 min read
Understanding Polymorphism in PHP: Types, Code Examples, and Practical Applications
21CTO
21CTO
Apr 21, 2025 · Backend Development

Master PHP Inheritance: Single, Multi‑Level, and Hierarchical Explained

This tutorial explains PHP inheritance concepts—including single, multi‑level, and hierarchical inheritance—showing how to reuse and extend code with practical examples of method overriding, the parent keyword, constructors, interfaces, and access modifiers.

Backend DevelopmentInheritanceMethod Overriding
0 likes · 10 min read
Master PHP Inheritance: Single, Multi‑Level, and Hierarchical Explained
Test Development Learning Exchange
Test Development Learning Exchange
Mar 7, 2025 · Fundamentals

Mastering Polymorphism: 10 Real-World Python Examples and When to Use Them

This article explains the core concept of polymorphism in object‑oriented programming, distinguishes compile‑time and runtime polymorphism, and provides ten practical Python examples—from animal sounds and shape drawing to payment processing, file handling, logging, and game characters—illustrating when and how to apply each technique.

Design PatternsMethod OverloadingMethod Overriding
0 likes · 9 min read
Mastering Polymorphism: 10 Real-World Python Examples and When to Use Them
php Courses
php Courses
Sep 11, 2024 · Backend Development

Mastering the PHP final Keyword: Preventing Inheritance and Method Overriding

This article explains the purpose and proper use of PHP's final keyword for classes and methods, illustrating when and how to apply it with clear code examples to enhance code stability, security, and maintainability in object‑oriented development.

Backend DevelopmentInheritanceMethod Overriding
0 likes · 8 min read
Mastering the PHP final Keyword: Preventing Inheritance and Method Overriding
php Courses
php Courses
Jun 29, 2023 · Backend Development

Understanding PHP Dispatch Mechanism and Method Overriding

This article explains PHP's dispatch mechanism, showing how the runtime selects the appropriate method based on an object's actual class, and demonstrates polymorphism through a simple Animal‑Dog‑Cat example with complete code and output explanations.

DispatchMethod OverridingOOP
0 likes · 3 min read
Understanding PHP Dispatch Mechanism and Method Overriding
Java One
Java One
Jun 4, 2022 · Fundamentals

Understanding Java Polymorphism: Concepts, Implementation, and Common Pitfalls

This article explains Java polymorphism by illustrating inheritance hierarchies, runtime method binding, and the differences between static and dynamic dispatch, while providing concrete code examples that demonstrate how method overriding, field access, and down‑casting behave in practice.

InheritanceJavaMethod Overriding
0 likes · 6 min read
Understanding Java Polymorphism: Concepts, Implementation, and Common Pitfalls
php Courses
php Courses
Mar 9, 2021 · Backend Development

Understanding Method and Property Overriding in PHP Classes

The article explains PHP class inheritance, detailing how public and protected properties and methods can be overridden in child classes while private members remain unaffected, and demonstrates correct overriding practices, parameter matching, and using the parent keyword with clear code examples.

BackendMethod OverridingPHP
0 likes · 6 min read
Understanding Method and Property Overriding in PHP Classes
Python Programming Learning Circle
Python Programming Learning Circle
Apr 6, 2020 · Fundamentals

Understanding Python Class Inheritance: Five Common Techniques

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.

ClassInheritanceMethod Overriding
0 likes · 6 min read
Understanding Python Class Inheritance: Five Common Techniques