Concepts of Object-oriented
programming and Java basics
Course
overview. Concepts of abstraction and encapsulation.
PDF.
Live
and death of a software object. Reference variables. Lost references and
garbage collector. Properties and methods. Class and instance. Creating an
instance of an existing class in Java. Client programming.
PDF.
Code Example
Defining
your own class of objects. Adding properties. Coding methods. Concepts of
composition and association. First UML diagrams. PDF.
Practice:
Designing objects and tests. Compiling and running Java programs. Java
packages. Console input and output. Java primitives and wrappers. Static fields
and methods.Arrays of Strings. Planning our first program: Route Finder.
PDF
Object fields: initialization. Method parameters and return values. Method
overloading.
PDF
Java
operators. Flow control. Loops. String concatenation. Casting and promotion.
PDF
Class
hierarchies. Inheritance. (Chapters 9,
10).
PDF
Practice:JUnit introduction. Designing
Battleship game.
PDF. Subtraction game code. Simple Battleship game code
Abstract
classes and methods. Polymorphism. Upcasting and downcasting. Interfaces. Multiple inheritance
with interfaces. Single-rooted class hierarchy. Java Object class.
PDF
Design
principles of object-oriented applications.
PDF
Software design patterns: Strategy
design pattern.
PDF
Practice:
Object-Oriented system design. Guitar store case study. PDF
Using libraries: client programming
Java collections: lists. Strategy design pattern and sorting
in Java.
PDF
Java collection framework: Lists and Sets.
PDF.
Code