Learn Java Easy. Book Index

πŸ“š Learn Java Easily: Table of Contents | All Chapters Listed

πŸ“š Learn Java Easily: Book Index

Explore all chapters of Learn Java Easily. Quick access to story, theory, and practice πŸ“–πŸš€

21 Chapters 10 Exercise Sections Beginner to Advanced

Get to know the creator behind this Java course. Learn about their background, experience, and passion for teaching programming.

Important information about how to use this book effectively, the teaching approach, and what to expect from your Java learning journey.

A Carefree Life in Salamanca
  • Introduction and presentation of data types
  • Definition of OOP and its fundamental concepts
  • Declaration and assignment of variables

Practice problems to reinforce concepts from Chapter 1

Chani’s Disappearance
  • Importance of data output
  • Using System.out.println and System.out.print
  • String concatenation
  • Changing font color
  • Comments in code
  • Rounding numbers, Part I

Practice problems to reinforce concepts from Chapter 2

Rich’s Friend
  • Importance of data input
  • Using the Scanner class
  • Concept of packages in Java
  • Declaration and usage of Scanner
  • Difference between assignment and declaration of variables

Practice problems to reinforce concepts from Chapter 3

Killing Time at the Police Station
  • Importance of conditionals
  • Basic structure of if
  • else and else if statements
  • Nested conditionals
  • switch-case
  • Comparison operators
  • Logical operators

Practice problems to reinforce concepts from Chapter 4

Meeting Bud
  • Definition and importance of loops
  • for loop
  • while loop
  • do-while loop
  • break keyword
  • continue keyword
  • String manipulation: charAt() and length()

Practice problems to reinforce concepts from Chapter 5

Helping Bud with His Tasks
  • Importance of random numbers
  • Generating random numbers with Math.random
  • Rounding numbers, Part II – Using Math.round()

Practice problems to reinforce concepts from Chapter 6

Chani’s Cousin Visits
  • Definition and importance of arrays
  • Declaration and creation of arrays
  • Assigning values to arrays
  • Traversing arrays with loops

Practice problems to reinforce concepts from Chapter 7

Bud’s Job
  • Definition and importance of 2D arrays
  • Declaration, creation, and assignment of 2D arrays
  • Accessing elements in a 2D array
  • Initializing 2D arrays
  • Traversing 2D arrays with nested loops
  • Summing elements in a matrix
  • Searching for specific elements in a matrix

Practice problems to reinforce concepts from Chapter 8

Creating a Distraction Device
  • Using our knowledge to move forward in the story
The Path to Vicente’s Office
  • LocalTime, LocalDate, and LocalDateTime classes
  • Getting the current date, time, and date-time
  • Creating specific dates and times
  • Adding and subtracting days, hours
  • Comparing dates
  • Formatting dates
  • Calculating the difference between dates

Practice problems to reinforce concepts from Chapter 10

Hacking the Security System
  • Using our knowledge to move forward in the story
Planning the Return to Prison
  • Importance of try and catch blocks
  • Common exception types
  • Basic structure of try-catch
  • Multiple catch blocks
  • The finally block

Practice problems to reinforce concepts from Chapter 12

Gathering Evidence Against Phil
  • Using our knowledge to move forward in the story
Escaping Through the Front Door
  • Importance of reading and writing files
  • Importing classes to read files
  • Reading text files
  • Importing classes to write files
  • Writing to text files

Practice problems to reinforce concepts from Chapter 14

Outsmarting the Timer System
  • Using our knowledge to move forward in the story
Final Preparations
  • Importance of for-each loops
  • Advantages and limitations of for-each
  • Syntax of the for-each loop

Practice problems to reinforce concepts from Chapter 16

Decoding Communication Systems
  • Using our knowledge to move forward in the story
Intercepting the Guards’ Conversations
  • Using our knowledge to move forward in the story
Functions and OOP
  • Difference between methods and functions
  • Access modifiers: public, protected, private
  • Methods that return values vs void
  • Creating and calling methods in the Main class
  • Creating and calling methods in other classes
  • Difference between class and instance
  • Difference between static and dynamic methods
  • Creating objects and using constructors
  • Defining getter and setter methods

Practice problems to reinforce concepts from Chapter 19

The Final Phase – We Build a Door Unlocking Tool
  • Using our knowledge to move forward in the story
The Ending
  • Ending and farewell

Did you like it? Don’t keep it to yourself β€” share it like juicy gossip! 😏