Learn Java

Learn Java news, information, and how-to advice

Interfaces in Java
javaqa j9 process api

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

lazy developers

7 habits of highly effective developers

Writing good code doesn’t take as many hours as you may think. Here’s how the best get it done. (Hint: being lazy is a good start.)

money cash dollars hands bids

Want to boost your salary? Learn Scala, Golang, or Python

Scala, Golang, and Python, along with big data tech like Apache Spark, reliably bolster your paycheck, according to salary-tracking site PayScale

javascript course

90% off Essential JavaScript Coding Course Bundle - Deal Alert

Lifetime access to 15 courses for just $29, which boasts a generous markdown from its original price of $1,080.

When is a character not a character?

The values assigned to char variables don't always represent characters. Learn all about characters and their variables in this edition of Java Q&A.

Exploring JavaFX's Application class

JavaFX's Application class is an essential part of every JavaFX application. Learn about the various capabilities that Application makes available.

The six roles of the interface

Java's interface language feature often puzzles newcomers to this language. Jeff eliminates this mystery by presenting the six roles that interfaces play in the Java language.

Load More