Inheritance and Polymorphism in Java
Executive Summary: In Java, a subclass inherits from its parent, can override its methods, and runs the overridden…
Category
Backend development is the server-side work behind an application: APIs, business logic, databases, queues and background jobs. Backend engineers pick languages such as Java, Python, Node.js or C#, decide how data is stored and how services talk to each other, and keep it all fast and correct under load. Most of the hard calls are trade-offs, such as SQL against NoSQL or a monolith against microservices.
177 articles
Executive Summary: In Java, a subclass inherits from its parent, can override its methods, and runs the overridden…
Executive Summary: Encapsulation in Java means keeping fields private and exposing behavior through methods that enforce the object’s…
Executive Summary: Java constructors initialize objects at creation, and good ones make invalid objects impossible. I cover classes…
Executive Summary: Gradle builds Java projects from a build.gradle.kts file using plugins, repositories, dependencies, and a toolchain that…
In the world of web development, WordPress is a popular platform that powers millions of websites across the…
Executive Summary: This beginner project builds a Java number guessing game with Random, a Scanner input loop, replay,…
Executive Summary: Maven builds Java projects from a pom.xml that declares coordinates, dependencies, and plugins. I cover transitive…
Executive Summary: This practice project builds a single-file Java CLI calculator with one-shot and interactive modes and switch-expression…
Executive Summary: Java arrays are fixed-length containers with helpers in java.util.Arrays, and Strings are immutable. I cover creating,…
Executive Summary: Java methods are defined by a signature and a body, and Java passes everything by value,…
Executive Summary: Java control flow covers sequence, branching, loops, and switch. Here I show when to use each…
Executive Summary: Java variables are statically typed, and the language has eight primitive types with fixed sizes on…
Executive Summary: I’ll set up a Java development environment: install JDK 21 from a distribution like Eclipse Temurin,…