Learn Java

Learn Java news, information, and how-to advice

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.


Java 101: Class and object initialization

Java 101: Class and object initialization in Java

This final installment in the "Java 101: Foundations" series introduces all of Java's features for initializing classes and objects.

Polymorphism

Java 101: Polymorphism in Java

Learn how to use subtype polymorphism to execute different forms of the same Java method

9 programming languages

Functional languages: What they are, where they're going

Functional languages require that you rethink your approach to programming -- get tips from the developers of Clojure, Scala, and F#

algorithms 1

10 amazing algorithms for the real world

Algorithms are used for a range of purposes – medical, social, and whimsical

checkers swing ui

Checkers, anyone?

Explore the design and implementation of a Swing-based library that provides the user interface for the game of checkers.

object and its methods

Java 101: Inheritance in Java, Part 2

Get to know the ultimate superclass of Java's class inheritance hierarchy: java.lang.Object.

java inheritance with biscuits

Java 101: Inheritance in Java, Part 1

Learn the basics and more of Java inheritance, one of the fundamental concepts of object-oriented programming. Get your head around inheritance concepts and syntax, then go hands-on with the mothership of all Java classes:...

composition
Tip

Java 101 primer: Composition and inheritance

A quick guide to the composition technique in Java programming. Learn how to use composition to resolve the well-known problem with inheritance.

JavaFX improvements in Java SE 8u40

JavaFX 8u40 added support for accessibility, standard and custom dialogs, a spinner control, and text formatting. Learn about these new capabilities in this installment of Java Q&A.

agile skills increase pay

7 agile certifications to take your career to the next level

How agile are you? One of these certification programs could help you, and your future employer, find out.

A hand making the OK signal

6 things all good software code has in common

Developers know that not all code is created equal, but how do you tell the difference between solid gold code and code that's merely mediocre?

A man pulling his hair out

The terrible 10: Programmers’ biggest frustrations

Like any other job, programming has its downsides – here are 10 of them

fields primer

Java 101 primer: Fields and methods in Java

Learn how to handle fields and methods right, with these seven advanced techniques for object-based programming in Java.

fields and methods

Java 101: Classes and objects in Java

Learn how to make classes, fields, methods, constructors, and objects work together in your Java applications.

head scratch

Head-scratchers: 11 confounding programming language features

Programming languages are full of peculiarities but these oddities tend to make developers say “WTF?” more than most

anglers loop

What REPL means for Java

Read-eval-print-loop functionality is coming to Java in 2016. Find out how JShell will change the way that developers learn and write Java code.

hopscotch

Java 101: The essential Java language features tour, Part 7

End your tour of Java's essential language features with Java 8's method references, interface default and static methods, and three lesser known language updates, then preview new features coming in Java 9.

speech bubble

Java 101: Deciding and iterating with Java statements

Learn how to use statements like if, if-else, switch, and while to specify expressions, make decisions, and iterate in your Java programs.

Load More