Learn Java

Learn Java news, information, and how-to advice

object and its methods
java inheritance with biscuits


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.


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.


Java 101: Evaluate Java expressions with operators

Continue learning the fundamentals of Java programming, with this Java 101 introduction to using operators to write compound Java expressions.

NIO.2 Cookbook, Part 3

Leverage file-visitor, glob/pathmatcher, and directory-watcher features for advanced tasks in NIO.2.

building blocks

Java 101: Elementary Java language features

Learn three ways to document your code and find out why Unicode is the universal encoding standard for Java, then practice using identifiers, types, literals, and variables in your Java programs. All examples are written in Java 8.

stack of books

Java 101: Learn Java from the ground up

If you're new to Java then you've come to the right place: Get started with the foundations of the Java platform and code your first Java application with this classic tutorial for beginners.

magental tinted image of worker at laptop computer 91910925

Stack Overflow survey: Nearly half of developers are self-taught

Stack Overflow Developer Survey finds 48 percent of respondents never received a degree in computer science.

Photo collage including a dog and a man drinking beer

Wisdom to code by, an illustrated guide to programmer proverbs

Behold age-old truths that software developers have learned over the years


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

Learn by example how lambdas interact with scopes, local variables, the this and super keywords, and exceptions in Java programs.

Load More