Tutorials

android beginners3

Android Studio for beginners, Part 3: Build and run the app

Build your app with Gradle, then run it on an Android device emulator or Kindle Fire tablet

android beginners1

Android Studio for beginners, Part 1: Installation and setup

If you're new to Android Studio, start here. Part 1 walks through installing Android Studio and launching your first Android project

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.

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.

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

Spark Java microframework

Jump into Java microframeworks, Part 3: Spark

Develop a JDBC persistence layer for your basic Spark web application, then use jQuery and DBUtils to wire up a functional UI with authentication and authorization.

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.

docker data

Open source Java projects: Docker

Set up and deploy a Java application to Docker, then integrate a Docker container into your Maven build process for easier testing and automated production builds.

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:...

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.

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.

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.

operators

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.

Load More