Tag

Abstract Class

0 views collected around this technical thread.

Java Captain
Java Captain
May 11, 2025 · Fundamentals

Understanding Abstract Classes and Interfaces: Design Principles and Practical Uses

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 ClassJavaOOP
0 likes · 5 min read
Understanding Abstract Classes and Interfaces: Design Principles and Practical Uses
Java Captain
Java Captain
Apr 22, 2025 · Backend Development

Using Custom Annotations, Abstract Classes, and Interfaces in Spring Backend Development

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 ClassCustom Annotation
0 likes · 8 min read
Using Custom Annotations, Abstract Classes, and Interfaces in Spring Backend Development
FunTester
FunTester
Feb 14, 2025 · Fundamentals

Design and Implementation of a Multithreaded Task Class in Java for Performance Testing

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
Design and Implementation of a Multithreaded Task Class in Java for Performance Testing
Architect's Guide
Architect's Guide
May 26, 2024 · Backend Development

Applying Abstract Methods, Anonymous Inner Classes, and Future Pattern for Highly Abstracted Java Service Design

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 ClassFuture PatternJava
0 likes · 8 min read
Applying Abstract Methods, Anonymous Inner Classes, and Future Pattern for Highly Abstracted Java Service Design
Top Architect
Top Architect
Jan 10, 2021 · Backend Development

Eliminating If‑Else Chains with Enums and Abstract Classes in Java Channel Processing

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 ClassEnumJava
0 likes · 6 min read
Eliminating If‑Else Chains with Enums and Abstract Classes in Java Channel Processing
Java Captain
Java Captain
Apr 19, 2018 · Fundamentals

Understanding Interface Inheritance, Multiple Inheritance, and Abstract Classes in Java

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 ClassJavaMultiple Inheritance
0 likes · 4 min read
Understanding Interface Inheritance, Multiple Inheritance, and Abstract Classes in Java
Java Captain
Java Captain
Jan 8, 2018 · Fundamentals

Understanding Abstract Classes and Interfaces in Java

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 ClassJavaOOP
0 likes · 9 min read
Understanding Abstract Classes and Interfaces in Java
Java Captain
Java Captain
Dec 27, 2017 · Fundamentals

Differences Between Abstract Classes and Interfaces in Java and When to Use Each

This article explains the characteristics of abstract classes and interfaces in Java, compares them across multiple dimensions, provides code examples, and offers guidance on choosing the appropriate construct based on default implementations, inheritance needs, and future changes.

Abstract ClassJavaOOP
0 likes · 6 min read
Differences Between Abstract Classes and Interfaces in Java and When to Use Each