This long lecture note on Java
gives an introduction to object-oriented programming concepts using the Java
Programming Language. Starting from the very basics of Java and how to set up
the environment, to basic syntax and data types, the note then covers the
necessary operators, control structures, decision-making constructs, and goes
further to give a comprehensive string handling. This resource outlines some of
the fundamental object-oriented principles, such as classes, objects, methods,
and modifiers, while also covering more advanced topics like inheritance,
polymorphism, abstraction, and encapsulation. It further elaborates on packages,
interfaces, input/output operations, exception handling, and multithreading. The
note, therefore, with its broad scope and practical examples, is intended for
use by students and professionals who would like to learn the OOP capabilities
of Java and how to apply them.
This University of Mumbai textbook covers Object-Oriented Programming in
as much depth as possible, starting off with an introduction to Object-Oriented
Methodology and the Principles of OOP necessary to understand the structure of
OOP. The book then goes on to cover Classes and Objects with great depth: a
description of how to define and interact with them. This explains Constructors
and Destructors, further explaining through Polymorphism and Virtual Functions
how dynamic behavior in programs is handled. Inheritance has been explained in
detail to show how classes can be extended and reused. The text also discusses
Exception Handling in order to handle errors in a structured manner and Working
with Files in order to persist data. This book would therefore be important to
both students and practitioners who wish to consolidate their understanding of
OOP concepts and their application in programming.
Carl Erickson's
note on Object-Oriented Programming introduces the OOP paradigm in detail. It
first gives an explanation of Motivation for Object-Oriented Programming and The
Object-Oriented Paradigm, including insights as to why OOP is effective. The
note discusses essential concepts of OOP: Abstraction, Identity, Encapsulation,
and Modularity, object-oriented messaging, and object-oriented hierarchy. It
also discussed naming conventions, object-oriented typing, and concurrency and
persistence. Other heads-up are on practical aspects of OOP: the Object-Oriented
Development Process and ObjectOriented Analysis Techniques. It also provides
tools for effective design through the use of UML notation, CRC cards, and
object-oriented class relationships. In simple terms, this can be a useful
resource to understand the theoretical and practical aspects of OOP regarding
its pitfalls and best practices.