
Livro digital
Título:
Object Oriented Programming
Autor:
Robert Harle
Categoria:
Tecnologia > Backend
Doador:
Raffaello D. N.
Sinopse:
Most programmers learn OOP syntax without understanding why objects, inheritance, and polymorphism exist in the first place. These Cambridge lecture notes dismantle that gap by building object-oriented understanding from the hardware upward—starting with the von Neumann architecture, the fetch-execute cycle, and pointer arithmetic—before layering on encapsulation, inheritance, abstract classes, and interfaces.
From the fundamental operations of a CPU, the course transitions into full object-oriented design: modularity, state and behaviour, encapsulation and information hiding, inheritance trees with shadowing and overriding, subtype polymorphism, abstract classes, and Java interfaces. The Java platform section covers exceptions, the clone mechanism and deep-versus-shallow copying, packages and access modifiers, the Collections Framework, and generics with wildcards. The final section presents eight classic Gang of Four design patterns—Decorator, State, Strategy, Composite, Singleton, Proxy, Observer, and Abstract Factory—illustrated through a realistic e-commerce book-selling case study.
Uniquely, this material serves as a bridge from functional programming in ML to imperative object-oriented design in Java—a transition rarely addressed in conventional textbooks. Readers gain not just Java proficiency but a grounded mental model connecting hardware architecture to high-level abstractions, a working vocabulary of design patterns, and the ability to critically evaluate software architectures. By treating OOP as a paradigm rather than a language, these notes prepare developers to move confidently across Java, C++, Python, or any object-oriented language.