Learn Java

Learn Java news, information, and how-to advice

puzzlers
Type dependency in Java Part 2

Java 9 concurrency enhancements

Java 9's other new enhancements, Part 6: Concurrency

Java 9 introduces a publish-subscribe framework for reactive streams, improvements to the CompletableFuture class, and other concurrency enhancements

reg ex2

Java 101: Regular expressions in Java, Part 2

Complete your introduction to the Regex API, then find out how regular expressions make quicker work of common tasks like code documentation and lexical analysis.

words nodes map usage

Java 101: Regular expressions in Java, Part 1

Pattern matching is an important technique used in text processing, and Regex is here to help. Find out how to use the Pattern class and constructs like quantifiers and boundary matchers to describe patterns in your Java programs.

lock door security

Java 9's other new enhancements, Part 4: Multi-release JAR files

A Java 9 extension to the JAR file format makes it easier for third-party libraries and frameworks to use language and API features from newer Java releases

Interfaces in Java

Java 101: Interfaces in Java

Extracting class interfaces into Java interfaces can increase the reusability of your code, but only if you know how to use their special properties.

javaqa j9 process api

Java 9's other new enhancements, Part 3: The Process API

Updates to the Process API will make it easier to obtain a process ID, get additional information about a process, and execute actions on process termination

Type dependency and variances in Java

Type dependency in Java, Part 1

Covariance and contravariance might seem esoteric, but you'll need these concepts more than ever as the Java language evolves. Get started with type dependency in array types, generic types, and the wildcard element.

A stack of coins

Java 9's other new enhancements, Part 2: Milling Project Coin

JEP 213 builds on Java 7's Project Coin with small language improvements and additions for your Java programs

factory methods

Java 9's other new enhancements, Part 1: Factory methods in Java Collections

The module system and REPL tool have received widespread attention, but Java's newest release has much more to offer. This series introduces other enhancements to Java 9, beginning with the new convenience factory methods in the Java...

military bootcamp army exercise drills service

Coding boot camp grads write better code

Boot camp grads lead college grads in practical programming skills, but lag in deeper understanding of systems and algorithms

it resume makeover

10 resume do’s and don’ts for developers

Recruiters and hiring managers reveal what makes a candidate stand out -- or fall flat

12221514614 6dcba1c70f o

Are checked exceptions good or bad?

While some programmers believe checked exceptions are a good language feature, others would disagree. In this post, Jeff introduces checked exceptions, then dives into the debate.

transparent binary code binary code computer coding technical programming 000000123354

Self-taught? 3 keys to acing the coding interview

Coding interviews are nerve-wracking, but using blind coding challenges can help boost your performance and even the odds

world's best programmers primary.jpg

Where to find the world's best programmers

Two countries are leading the world for today's top coders; the question is why

Read-only properties in JavaFX 8

Learn how to expose internal modifiable properties as external read-only properties in JavaFX 8

java8

Interface-based applications in Java 8

Java 8's support for static methods in interfaces made it possible to create interface-based applications. Learn how in this short blog post.

A collection of marigolds.

Immutable empty collections and iterators

Find out why the java.util.Collections class includes static methods that return immutable empty collections and iterators.

Sage career tips from the programming masters

Don't just code: Career advice from the programming masters

Dev tech founders Eich, van Rossum, Johnson, Hickey, and Schleuter offer advice to programming newcomers

Load More