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 book contains below topics, Computer programming, Variables and operators, Input and output, Methods and testing, Conditionals and logic, Loops and strings, Arrays and references, Recursive methods, Immutable objects, Mutable objects, Design of classes, Arrays of objects, Extending classes.
Author(s): Allen B. Downey and Chris Mayfield, Green Tea Press
This note covers the following topics, From Scheme to Java, Java Mechanics, Java Data Types, Static Fields and the Singleton Pattern, Simple Graph Algorithms, ObjectOriented Data Structures, Graphical User Interfaces, GUI Programming.