Tagged articles
Abstract Class
11 articles · Page 1 of 1
This article explains how C++ uses abstract classes and pure virtual functions to define interfaces, compares abstract classes with simulated interfaces, provides concrete code examples, and outlines common real‑world scenarios such as game objects, GUI widgets, and plugin systems.
Abstract ClassC++OOP
0 likes · 5 min read

This article explains C++ polymorphism, covering virtual functions, the override and final keywords, pure virtual functions, virtual destructors, vtable implementation, performance considerations, modern C++ improvements, and practical examples with code snippets.
@OverrideAbstract ClassC++
0 likes · 9 min read

Abstract classes and interfaces are core object‑oriented concepts that enable reusable, extensible, and maintainable code; this article explains their definitions, design considerations, and real‑world applications, illustrated with Java examples of a Control hierarchy and a Shape interface implementation.
Abstract ClassInheritanceJava
0 likes · 5 min read

This article demonstrates how to create and apply custom Spring annotations for AOP logging, implements the corresponding aspect, and discusses the strategic use of abstract classes and interfaces to separate business logic from data access in both MongoDB and MySQL contexts.
AOPAbstract ClassBackend
0 likes · 8 min read

This article explains the design and implementation of a flexible, extensible Java multithreaded task class for performance testing, covering the choice of Runnable over Thread, execution control mechanisms, data collection methods, and sample abstract code illustrating before, test, and after lifecycle hooks.
Abstract ClassAtomicBooleanJava
0 likes · 10 min read

The article demonstrates how to achieve high abstraction in Java by using abstract methods overridden by subclasses, passing behavior through anonymous inner classes, and implementing an asynchronous Future pattern with listeners to handle request results, providing complete code examples for each technique.
Abstract ClassDesign PatternFuture Pattern
0 likes · 8 min read

This article explains the definition, goals, and common techniques of code refactoring, illustrated with clear before‑and‑after Java examples such as method extraction, variable extraction, conditional simplification, and abstract‑class extraction, and concludes with a brief Q&A on best practices.
Abstract Classconditional refactoringmethod extraction
0 likes · 17 min read

This article demonstrates how to replace cumbersome if‑else statements with a clean, extensible design using an abstract rule class, concrete channel implementations, and an enum that binds channel identifiers to their processing logic, thereby adhering to the open‑closed principle.
Abstract ClassBackendEnum
0 likes · 6 min read

This article explores three common doubts about Java interfaces, demonstrates how interface references can point to implementing objects, compares abstract classes and interfaces for achieving polymorphism, and provides detailed animal‑hierarchy examples with code, generics, and best‑practice recommendations.
Abstract ClassGenericsOOP
0 likes · 19 min read

This article explains how Java interfaces can be defined separately from classes, how interfaces can inherit from other interfaces (including multiple inheritance), and how abstract classes are declared and extended, providing clear code examples for each concept.
Abstract ClassInheritanceJava
0 likes · 4 min read

This article explains the concepts, syntax, and design differences between Java abstract classes and interfaces, illustrating how each is used for abstraction, inheritance, and behavior contracts with code examples.
Abstract ClassOOPinterface
0 likes · 9 min read
