- When every version was released, how were they called and what were the particularities
- What is Java, how it is executed, what type of language it is and what is it good for
-
Chapter 2: Preparing your development environment
- Installing Java, choosing an editor, choosing a build tool
-
Chapter 3: Getting your feet wet
- Writing a simple program, compile and execute
- Adding a dependency of somebody else’s code through dependencies of existing libraries
- Mention best tools for java and most used frameworks like Spring
Chapter 4: Java syntax
- what is a package, module
- class
- enums
- interface ( private methods & default methods)
- class, constructor, methods… etc
- removal of _
Chapter 5: Data Types
- primitive, object types (emphasis on String, Collections, Calendar API)
- String – compact Strings
- Collections: Immutable collections, factory methods for Collections(JEP 269)
- mention Generics
- optional – enhancements
- threads, futures – CompletableFuture (JEP 266)
Chapter 6: Operators
- unary, binary, ternary, logic, and the diamond operator (used in conjunction with anonymous inner classes)
Chapter 7: Controlling the flow
- if, loops
- try catch (try with resources with managed variables)
- recursion
Chapter 8: The Stream API
- streams , optional to Stream, enhancements
Chapter 9: Debugging , testing and documenting
- what is a break point
- loggers : unified JVM logging (JEP 264)
- mocks and stubs
- jmc, jps, jcmd – JDK utilities
- The new Doclet API
- the JShell Command Line Tool
- accessing the process API
- @Deprecated enhancements (JEP 277)
Chapter 10: Making your application interactive
- request data with System.in
- Swing
- Web applications (use the new HTTP client)
- JavaFX UI (JEP 253)
- Internationalization (JEP 267)
Chapter 11: Writing files
- storing data to files, reading it from them
- serialization to Binary, XML, JSON, YML (JEP290)
- playing with images – multi-resolution API
Chapter 12: Publish-Subscribe Framework
- reactive streams
Chapter 13: Garbage Collection
- JEP 214,248,271,291
Iuliana Cosmina is currently a software engineer for NCR Edinburgh. She has been writing Java code since 2002 and contributed to various types of applications such as experimental search engines, ERPs, track and trace, and banking. During her career, she has been a teacher, a team leader, software architect, DevOps professional, and software manager. She is a Spring-certified Professional, as defined by Pivotal, the makers of Spring Framework, Boot, and other tools, and considers Spring the best Java framework to work with. When she is not programming, she spends her time reading, blogging, learning to play piano, travelling, hiking, or biking.
Write your first code in Java 17 using simple, step-by-step examples that model real-word objects and events, making learning easy. With Java 17 for Absolute Beginners you’ll be able to pick up the concepts without fuss. It teaches Java development in language anyone can understand, giving you the best possible start.
You’ll see clear code descriptions and layout so that you can get your code running as soon as possible. Author Iuliana Cosmina focuses on practical knowledge and getting you up to speed quickly—all the bits and pieces a novice needs to get started programming in Java.
First, you’ll discover what type of language Java is, what it is good for, and how it is executed. With the theory out of the way, you’ll install Java, choose an editor such as IntelliJ IDEA, and write your first simple Java program. Along the way you’ll compile and execute this program so it can run on any platform that supports Java. As part of this tutorial you’ll see how to write high-quality code by following conventions and respecting well-known programming principles, making your projects more professional and efficient.
Java 17 for Absolute Beginners gives you all you need to start your Java programming journey. No experience necessary. After reading this book, you'll come away with the basics to get started writing programs in Java.
You will:
Get started with Java 17 from scratch
Use data types, operators, and the stream API
Install and use the IntelliJ IDEA and the Gradle build tool