Everything about

#java‑basics

Image with slug talk-teaching-java
Advanced "Java 101"#talk#java‑basics #on‑ramp #community
Java's success as one of the most used programming languages in the world comes in no small parts from its approachability but what may have been an easy entry into programming in the mid 90s, appears laborious today and so, in recent years, Oracle and OpenJDK have worked to improve the situation.
Image with slug java-21-pattern-matching
Java 21 Pattern Matching Tutorial#video#java‑21 #pattern‑matching #java‑basics
Java 21 is the first Java release with all essential pattern matching features finalized: sealed types, type patterns, an improved switch, records, and record patterns. This tutorial puts them all together.
Image with slug inside-java-newscast-49
Script Java Easily in 21 and Beyond - Inside Java Newscast #49#video#java‑basics #on‑ramp
To give Java and programming beginners a better learning path, JEP 445 proposes to allow stand-alone main methods that are non-public, non-static, and don't have an args array and we're also JEP draft for multi-file programs
Image with slug inside-java-newscast-28
What is OpenJDK? - Inside Java Newscast #28#video#openjdk #community #java‑basics
What's "OpenJDK" (or "the OpenJDK"?), how does it work, and what does it do? Here's the answer to these questions as well as explorations of JDK Enhancement Proposals, the Java Community Process, why there are so many JDK providers, and how long-term support works.
Image with slug java-type-pattern-matching
Type Pattern Matching with instanceof#post#java‑16 #java‑basics #pattern‑matching
Type patters with instanceof are Java's first step towards pattern matching. Motivation, syntax, details, and future applications - here's all you need to know.
Image with slug java-pattern-matching
Pattern Matching in Java#post#java‑basics #pattern‑matching
Java takes its first steps towards pattern matching but the topic is much larger than instanceof. Goals, terminology, flow scoping - these apply to all kinds of patterns.
Image with slug java-generics-basics
Java Generics I - The Basics#video#java‑basics #generics
First part of a short series on Java generics - this one explains the basics
Image with slug java-13-switch-expressions
Definitive Guide To Switch Expressions In Java 13#post#java‑13 #java‑basics #switch
Java 13 finalized switch expressions. Together with a new lambda-style arrow syntax, this makes switch more expressive and less error-prone.
Image with slug java-13-text-blocks
Definitive Guide To Text Blocks In Java 13#post#java‑13 #java‑basics
Java 13 introduces text blocks: string literals that span multiple lines. Learn about syntax, indentation, escape sequences, and formatting.
Image with slug java-http-2-api-tutorial
Java 11 HTTP/2 API Tutorial#post#java‑11 #java‑basics
Tutorial for Java 11's new HTTP/2 API with HttpClient, HttpRequest, and HttpResponse at its center. Shows synchronous and asynchronous request handling.
Image with slug junit-5-basics
JUnit 5 Basics: @Test, Lifecycle, Assertions, Assumptions, And More#post#java‑basics #junit‑5 #libraries #testing
The Basics of JUnit 5: How to use @Test, @BeforeAll, @BeforeEach, @AfterEach, @AfterAll, assertions, and assumptions. How to disable, name, and tag tests.
Image with slug java-10-var-type-inference
First Contact With 'var' In Java 10#post#java‑10 #java‑basics #var
Java 10 introduces the var keyword, which lets the compiler infer local variable types. Here's how var works, why it exists, how it impacts readability.
Image with slug java-module-system-tutorial
Code-First Java Module System Tutorial#post#java‑9 #java‑basics #j_ms
Tutorial of Java 9 module system basics: declare modules with module-info.java, compile, package, launch them, learn of module path and readability graph.
Image with slug java-unified-logging-xlog
Unified Logging Of JVM Messages With The -Xlog Option#post#java‑9 #java‑basics
Java 9 introduces unified logging, a central mechanism configurable with -Xlog to observe class loading, threading, garbage collector, module system, etc.
Image with slug jdeps-tutorial-analyze-java-project-dependencies
A JDeps Tutorial - Analyze Your Project's Dependencies#post#java‑basics #j_ms #jdeps #tools
JDeps is a dependency analysis tool for Java bytecode (class files and JARs). Learn how to use filters, aggregate results, and create diagrams.
Image with slug implement-java-hashcode-correctly
How To Implement hashCode Correctly#post#java‑basics
So you wrote a nice equals implementation? Great! But now you have to implement hashCode as well. Let’s see how to do it correctly.
Image with slug implement-java-equals-correctly
How To Implement equals Correctly#post#java‑basics
A fundamental aspect of any Java class is its definition of equality. It is determined by a class's equals method. Let's see how to implement it correctly.
Image with slug jar-hell
JAR Hell#post#java‑basics
A list of the problems that make up JAR hell (classpath hell, dependency hell) and how they relate to development tools like Maven and OSGi.
Image with slug java-default-methods-guide
Everything You Need To Know About Default Methods#post#default‑methods #java‑8 #java‑basics
Covering literally everything there is to know about Java 8's default methods.
Image with slug java-multiple-return-statements
Multiple Return Statements#post#clean‑code #java‑basics
An argument for using multiple return statements in a method (as opposed to adhering to the single return myth).
Image with slug java-concepts-serialization
Concepts of Serialization#post#java‑basics #serialization
A close look at serialization and a presentation of some key concepts of Java's serialization system.