Programming Books

14 Excellent Free Books to Learn Java

Last Updated on March 19, 2024

7. Java Programming for Kids by Yakov Fain

Java Programming for Kids is written for kids aged 12+ and adults wanting a gentle introductory Java book.

The book begins with an introduction to Java and then explains how to write GUI programs illustrating with Tic-Tac-Toe and Ping-Pong games. The book gives good treatment to the basics – classes, Java building blocks, interfaces, lambdas, abstract and anonymous classes are covered. The author then proceeds to examine access levels, collections, generics, multi-threading before offering an introduction to GUI with JavaFX, a library that’s included with JDK, and you can write your GUI programs using familiar Java language.

The reader also learns how to handle run-time errors (known as exceptions), and how to work with files and serialization.

The online version of this book is offered for free under an Creative Commons license.

Read the book

8. What’s New in Java 8 by Adam L. Davis

What's New in Java 8What’s New in Java 8 is a short introduction to Java 8, the only publicly supported version. The book aims to offer a basic understanding of the new features and be ready to start using it. You’ll need a good understanding of Java the language and the JVM to reap the full benefits of the book. The author helps you understand Java 8, including Project Lambda, the new Date-Time API, Streams, Nashorn, and more.

Java 8 includes the following:

  • Lambda expressions – an anonymous function that you can use to create delegates or expression tree types
  • Method references – compact, easy-to-read lambda expressions for methods that already have a name
  • Default Methods (Defender methods)
  • A new Stream API
  • Optional type – a new container type that wraps a single value, if the value is available
  • A new Date/Time API.
  • Nashorn, the new JavaScript engine – extends Java’s capabilities by running dynamic JavaScript code natively on the JVM
  • Removal of the Permanent Generation
  • and more…

This book is licensed under Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported (CC BY-NC-SA 3.0).

Read the book

9. Apache Jakarta Commons: Reusable Java Components by Will Iverson

Apache Jakarta Commons: Reusable Java ComponentsThis book is a Java developer’s guide to the Apache Jakarta Commons project. It covers, in detail, the twelve most important Jakarta Commons packages, covering topics ranging from HTTP FileUpload to database connectivity, with sample program code provided for each.

It also offers instruction on how to combine the Commons project libraries with Eclipse.

This book is part of Bruce Perens’ Open Source Series. All books in this series are released under the Open Publication License, v1.0 or later.

Read the book

Next page: Page 4 – Object Oriented Programming using Java and more books

Pages in this article:
Page 1 – Introduction to Programming Using Java and more books
Page 2 – Java Application Development on Linux and more books
Page 3 – Java Programming for Kids and more books
Page 4 – Object Oriented Programming using Java and more books
Page 5 – Java Structures and more books

All books in this series:

Free Programming Books
AdaALGOL-like programming language, extended from Pascal and other languages
AgdaDependently typed functional language based on intuitionistic Type Theory
ArduinoInexpensive, flexible, open source microcontroller platform
AssemblyAs close to writing machine code without writing in pure hexadecimal
AwkVersatile language designed for pattern scanning and processing language
BashShell and command language; popular both as a shell and a scripting language
BASICBeginner’s All-purpose Symbolic Instruction Code
CGeneral-purpose, procedural, portable, high-level language
C++General-purpose, portable, free-form, multi-paradigm language
C#Combines the power and flexibility of C++ with the simplicity of Visual Basic
ClojureDialect of the Lisp programming language
ClojureScriptCompiler for Clojure that targets JavaScript
COBOLCommon Business-Oriented Language
CoffeeScriptTranscompiles into JavaScript inspired by Ruby, Python and Haskell
CoqDependently typed language similar to Agda, Idris, F* and others
CrystalGeneral-purpose, concurrent, multi-paradigm, object-oriented language
CSSCSS (Cascading Style Sheets) specifies a web page’s appearance
DGeneral-purpose systems programming language with a C-like syntax
DartClient-optimized language for fast apps on multiple platforms
DylanMulti-paradigm language supporting functional and object-oriented coding
ECMAScriptBest known as the language embedded in web browsers
EiffelObject-oriented language designed by Bertrand Meyer
ElixirRelatively new functional language running on the Erlang virtual machine
ErlangGeneral-purpose, concurrent, declarative, functional language
F#Uses functional, imperative, and object-oriented programming methods
FactorDynamic stack-based programming language
ForthImperative stack-based programming language
FortranThe first high-level language, using the first compiler
GoCompiled, statically typed programming language
GroovyPowerful, optionally typed and dynamic language
HaskellStandardized, general-purpose, polymorphically, statically typed language
HTMLHyperText Markup Language
IconWide variety of features for processing and presenting symbolic data
JArray programming language based primarily on APL
JavaGeneral-purpose, concurrent, class-based, object-oriented, high-level language
JavaScriptInterpreted, prototype-based, scripting language
JuliaHigh-level, high-performance language for technical computing
KotlinMore modern version of Java
LabVIEWDesigned to enable domain experts to build power systems quickly
LaTeXProfessional document preparation system and document markup language
LispUnique features - excellent to study programming constructs
LogoDialect of Lisp that features interactivity, modularity, extensibility
LuaDesigned as an embeddable scripting language
MarkdownPlain text formatting syntax designed to be easy-to-read and easy-to-write
Objective-CObject-oriented language that adds Smalltalk-style messaging to C
OCamlThe main implementation of the Caml language
PascalImperative and procedural language designed in the late 1960s
PerlHigh-level, general-purpose, interpreted, scripting, dynamic language
PHPPHP has been at the helm of the web for many years
PostScriptInterpreted, stack-based and Turing complete language
PrologA general purpose, declarative, logic programming language
PureScriptSmall strongly, statically typed language compiling to JavaScript
PythonGeneral-purpose, structured, powerful language
QMLHierarchical declarative language for user interface layout - JSON-like syntax
RDe facto standard among statisticians and data analysts
RacketGeneral-purpose, object-oriented, multi-paradigm, functional language
RakuMember of the Perl family of programming languages
RubyGeneral purpose, scripting, structured, flexible, fully object-oriented language
RustIdeal for systems, embedded, and other performance critical code
ScalaModern, object-functional, multi-paradigm, Java-based language
SchemeA general-purpose, functional language descended from Lisp and Algol
ScratchVisual programming language designed for 8-16 year-old children
SQLAccess and manipulate data held in a relational database management system
Standard MLGeneral-purpose functional language characterized as "Lisp with types"
SwiftPowerful and intuitive general-purpose programming language
TclDynamic language based on concepts of Lisp, C, and Unix shells
TeXMarkup and programming language - create professional quality typeset text
TypeScriptStrict syntactical superset of JavaScript adding optional static typing
ValaObject-oriented language, syntactically similar to C#
VHDLHardware description language used in electronic design automation
VimLPowerful scripting language of the Vim editor
XMLRules for defining semantic tags describing structure ad meaning
Notify of

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Inline Feedbacks
View all comments