Learn Java

Learn Java | News, how-tos, features, reviews, and videos

Java 101: Datastructures and algorithms, Part 2

Java 101: Datastructures and algorithms in Java, Part 2

Get started with one-dimensional arrays and array variables, then try out five algorithms for searching and sorting arrays in your Java programs

Web services in Java SE, Part 4: SOAP with Attachments API for Java

Learn about SAAJ and other advanced Java SE Web service features

Web services in Java SE, Part 3: Creating RESTful Web services

Learn how to use Java SE's JAX-WS API to create a RESTful-based library Web service

Datastructures and algorithms in Java

Java 101: Datastructures and algorithms in Java, Part 1

Programmers use datastructures to store and organize data, and algorithms to manipulate that data. Get the basics of these fundamental programming elements, and find out how they work together in your Java programs

Java library evolution and other puzzlers

Exploring puzzling code to figure out why it doesn't do what seems obvious is one way to improve your programming skills. Puzzle yourself today!

Type dependency in Java Part 2

Type dependency in Java, Part 2

Make type dependency work to your advantage when programming with the Java Collections API, generics, and lambda expressions.

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

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

Load More