Skip to content

About

A Java study guide with practical examples across language basics, OOP, collections, streams, I/O, concurrency, modules, and JVM tools.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

20 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Java Study Notes

These are my personal study notes from learning and working with Java. They collect the language fundamentals, object-oriented design, standard library APIs, concurrency concepts, and practical examples I want to keep in one reference.

About these notes

I am building this collection as I study Java and use it to understand how complete applications are structured. The notes begin with small programs and core syntax, then move through object design, collections, functional APIs, files, concurrency, and the Java runtime.

Examples use Java and standard JDK APIs. Each chapter explains the concept in plain language, includes code that can be compiled or run, and links to current official references. Where an API depends on a newer Java release, the required version is stated.

Core topics

  • Compile and run Java programs with the JDK
  • Work with types, variables, operators, methods, and control flow
  • Model objects with classes, interfaces, records, and composition
  • Handle errors with exceptions and validate input
  • Use generics and the Collections Framework
  • Write lambdas and process data with streams
  • Read and write files and use date-time types
  • Understand concurrency, project modules, tests, and JVM tools

Chapters

  1. JDK setup and first Java program

  2. Variables, primitive types, and references

  3. Operators, expressions, and control flow

  4. Methods, parameters, and return values

  5. Arrays and strings

  6. Classes, objects, and constructors

  7. Encapsulation, inheritance, and composition

  8. Interfaces, enums, and records

  9. Exceptions and input validation

  10. Generics and type safety

  11. Collections, lists, sets, and maps

  12. Lambdas and functional interfaces

  13. Streams and Optional

  14. Files, I/O, and date-time APIs

  15. Concurrency, executors, and virtual threads

  16. Packages, modules, testing, and JVM tools

  17. All code samples

  18. Complete questions and answers

Suggested setup

Install a supported JDK, create a file named Main.java, then compile and run it from the terminal:

javac Main.java
java Main

Small examples can also be explored interactively with jshell. The chapters explain when to use each tool and how to organize code as a program grows.

Main references

Links

Support

About

A Java study guide with practical examples across language basics, OOP, collections, streams, I/O, concurrency, modules, and JVM tools.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors