π Learn Java Easily: Book Index
Explore all chapters of Learn Java Easily. Quick access to story, theory, and practice ππ
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.
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- 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
- Using our knowledge to move forward in the story
- 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
- Using our knowledge to move forward in the story
- 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
- Using our knowledge to move forward in the story
- 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
- Using our knowledge to move forward in the story
- 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
- Using our knowledge to move forward in the story
- Using our knowledge to move forward in the story
- 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
- Using our knowledge to move forward in the story
- Ending and farewell