- Big Java - Early Objects 7th Edition; Horstmann; Wiley Press (intermediate)
- Effective Java; Bloch; O'Reilly (advanced)
- https://java-programming.mooc.fi/
- https://www.baeldung.com/
- https://jenkov.com/
- https://www.w3resource.com/
- https://codingbat.com/
- https://www.programiz.com/
- https://exercism.io/
- https://github.com/TheAlgorithms/Java/
- https://github.com/charlax/professional-programming
Your pull requests are very welcome! To contribute, please refer to this guide. For a more general introduction to GitHub, refer to this page. By contributing to this repository, you agree that your contributions will be licensed under the LICENSE file in the root directory of this source tree.
[E1] From Functions to Classes
- Evolution of programming languages
- Limits of procedural programming
- Modularization, reuse of code, and object-oriented programming
- Object-oriented programming key features
[E2] Basics
Read: Big Java (Chapter 2-4-5-6-7)
Lab: com.nbicocchi.exercises.warmup, com.nbicocchi.exercises.arrays, com.nbicocchi.exercises.strings
- Variables, methods and parameter passing
- Fundamental data types
- Decisions
- Loops
- Arrays (and brief introduction to ArrayList)
- Strings
- Input and output
- Random numbers
- Coding Standard
[E3] Object Oriented Design
Read: Big Java (Chapter 3-8-9-10-12) Read: UML Distilled (Chapter 3)
- Instance variables and encapsulation
- Specifying the public interface of a class (and its implementation)
- Static variables and methods
- Inheritance hierarchies
- Abstract classes
- Interfaces (and anonymous implementations)
- Object: the cosmic superclass
- Wrapper types
- UML class diagrams
[E4] Data Structures (Collections Framework)
Read: Big Java (Chapter 14-15)
Lab: package com.nbicocchi.exercises.collections
- Iterable and Iterator interfaces
- List interface and its implementations (ArrayList, LinkedList)
- Set interface and its implementations (HashSet, LinkedHashSet, TreeSet)
- Deque interface and its implementations (ArrayDeque, LinkedList)
- Map interface and its implementations (HashMap, LinkedHashMap, TreeMap)
- Sorting and searching
[E5] Generic Data Structures (Generics)
Read: Big Java (Chapter 18)
- Generic classes and type parameters
- Implementing generic types
- Generic methods
- Constraining type parameters
- Type erasure
[E6] Functional Programming
Read: Big Java (Chapter 19), Object-Oriented vs Functional Programming (Chapter 1)
- Lambda expressions
- Functional interfaces
- Producing, transforming, and collecting functional streams
- The Optional type
[E7] Exceptions
Read: Big Java (Chapter 11)
- Throwing exceptions
- Catching exceptions
- Checked and unchecked exceptions
- Closing resources
[E8] IO/NIO Frameworks
Read: Big Java (Chapter 21)
- IO vs NIO frameworks
- Manipulating paths
- Manipulating filesystem (copy, move, etc.)
- Reading and writing files
[E9] Multi-threading
Read: Big Java (Chapter 22)
- Thread states
- Thread interference
- Thread synchronisation (synchronised/wait/notify)
- ExecutorService
- Callable/Future/Task
"Any fool can write code that a computer can understand. Good programmers write code that humans can understand." --- Martin Fowler