排序
Inheritance and Polymorphism in Java: Using Superclasses and Subclasses
Inheritance and Polymorphism in Java: Using Superclasses and Subclasses,This article explains how Java’s inheritance has an “is-a” relationship between superclasses and subclass...
Designing User-Defined Methods in Java: Key Criteria
Designing User-Defined Methods in Java: Key Criteria,This post explores the criteria for designing user-defined methods in Java, focusing on functionality, reusability, maintainabi...
Arrays in Java: Characteristics, Usage, and Real-Life Scenarios
Arrays in Java: Characteristics, Usage, and Real-Life Scenarios,This article explores the characteristics of arrays in Java, such as their fixed size, efficient access, and type sa...
Operators in Java
Operators in Java, Java Programming (4 Part Series) 1 Java Programming: Introduction 2 How to setup and run Java on your machine 3 Java Programming: Variables and Data Types 4 Oper...
Proxy Pattern
Proxy Pattern, What is Proxy Pattern? Proxy pattern is a structural pattern that provides a surrogate or placeholder for another object to control access to it. When to use it? The...
State Pattern
State Pattern, What is State Pattern? State pattern is a behavioral pattern that allows an object to alter its behavior when its internal state changes. The object will appear to c...
Composite Pattern
Composite Pattern, What is Composite Pattern? Composite pattern is a structural pattern that allows you to compose objects into tree structures to represent whole-part hierarchies....
Iterator Pattern
Iterator Pattern, What is Iterator Pattern? Iterator pattern is a behavioral pattern that provides a way to access the elements of an aggregate (collection) object sequentially wit...
OOP-Camp 4.1: The Secret Lives of Primitive Types
OOP-Camp 4.1: The Secret Lives of Primitive Types, In the Beginning, The Nerds Made 1 and 0 And Saw that it Was Good I used to tell my high school students that what programmers di...
Template Method Pattern
Template Method Pattern, What is Template method pattern? Template method pattern defines the skeleton of an algorithm in a method, deferring some steps to subclasses. Template met...
Facade Pattern
Facade Pattern, What is Facade Pattern? Facade pattern is a structural pattern that provides a unified interface to a set of interfaces in a subsystem. Facade defines a higher-leve...
Adapter Pattern
Adapter Pattern, What is Adapter Pattern? Adapter pattern is a structural pattern that converts the interface of a class into another interface the clients expect. Adapter lets cla...