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%
Contents
Classes and Objectsp. 96Encapsulation and Accessp. 118Inheritancep. 131Polymorphismp. 142Key concepts
Polymorphism
One interface, many forms: code written against a general type works with every specialised type that honours it.
Also in 4 other resourcesInheritance
A class derives state and behaviour from a parent class and may extend or override it.
Also in 3 other resourcesEncapsulation
Bundling data with the methods that protect it, exposing only a deliberate public surface.
Also in 2 other resourcesClasses & Objects
Classes describe a blueprint; objects are the living instances created from it.
Also in 5 other resourcesInterfaces & Protocols
Contracts that describe required behaviour without dictating implementation.
Also in 2 other resources