ATHENA
Illustrated avatar of Alex MorganAlex MorganComputer Science
All resources
Miriam OkaforJava Programming Essentials{ }CS 220
TEXTBOOK · 2025

Java Programming Essentials

Miriam Okafor · 412 pages

A structured introduction to Java, from syntax and types to class hierarchies, interfaces and runtime polymorphism.

34%
Open book

Contents

Classes and Objectsp. 96Encapsulation and Accessp. 118Inheritancep. 131Polymorphismp. 142

Key concepts

Polymorphism

One interface, many forms: code written against a general type works with every specialised type that honours it.

Also in 4 other resources
Inheritance

A class derives state and behaviour from a parent class and may extend or override it.

Also in 3 other resources
Encapsulation

Bundling data with the methods that protect it, exposing only a deliberate public surface.

Also in 2 other resources
Classes & Objects

Classes describe a blueprint; objects are the living instances created from it.

Also in 5 other resources
Interfaces & Protocols

Contracts that describe required behaviour without dictating implementation.

Also in 2 other resources

Used in courses

Java ProgrammingCS 220Object-Oriented ProgrammingCS 210